Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS Terminal window always open #1

Closed
kruegge82 opened this issue Jul 5, 2023 · 6 comments
Closed

MacOS Terminal window always open #1

kruegge82 opened this issue Jul 5, 2023 · 6 comments

Comments

@kruegge82
Copy link

Hello,
i try your tool and have one problem, if i start your CodeTimer-mac_x64 file on mac is open via Terminal, and a second window with the code timer app, if i close the terminal windows also the code timer app is close....

you know a way to hide the terminal window?

thanks

@owlysk
Copy link
Owner

owlysk commented Jul 9, 2023

Hi, I think it need to be bundle in .app neutralinojs/neutralinojs#209
Give me few days to try figure it out and I will come back to you.

@kruegge82
Copy link
Author

kruegge82 commented Jul 10, 2023 via email

@owlysk
Copy link
Owner

owlysk commented Jul 10, 2023

Hi,
after some search I figure out how to bundle it. BUT application in bundle has read-only access to files (where cache or credentials are located) so you can't update settings or use cache (app may be slower). I already created issue on neutralinojs how to handle this issue in future.

For now, you have to manually add credentionals to file setting.neustorage to make it work. This file is located in hidden folder .storage

CodeTimer-apple.app
    └── Contents
        ├── Info.plist
        ├── MacOS
        │   ├── booter
        │   └── CodeTimer
        └── Resources
            ├── app.icns
            ├── .DS_Store
            ├── extensions
            ├── favicon.ico
            ├── icons
            │   ├── app.icns
            │   ├── appIcon.png
            │   └── trayIcon.png
            ├── neutralino.config.json
            ├── resources
            │   ├── detail.html
            │   ├── .DS_Store
            │   ├── icons
            │   ├── index.html
            │   ├── js
            │   ├── lib
            │   ├── setting.html
            │   └── style.css
            ├── .storage
            │   ├── cache.neustorage
            │   └── setting.neustorage <--- this file need to be changed
            └── .tmp
                └── tray_icon_linux.png


Here is a bundle for Mac OS:
CodeTimer-apple.app.zip

I hope this will work for you

@owlysk
Copy link
Owner

owlysk commented Dec 17, 2023

Hi again. Can you please test this app bundle?
CodeTimer.app.zip

Please let me know, if it works.
Thank you

@kruegge82
Copy link
Author

yes it works very well...

@owlysk
Copy link
Owner

owlysk commented Dec 18, 2023

Great, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants