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

[Feature Request] Add Toggle for Startup and/or Run As a Service #121

Open
EarthBoundX5 opened this issue Oct 25, 2024 · 1 comment
Open

Comments

@EarthBoundX5
Copy link

Given that ComicRack has Server components, please add functionality to toggle the behavior to StartUp with Windows.

Ideally this would be to Run as a Service; however, a simpler means of implementation might be to reference the behavior of Calibre.

Calibre has a toggle that just adds or removes a shortcut to the executable in the StartUp folder of Windows. For per user, this location is shell:startup or %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup

Calibre's shortcut also adds a parameter for starting only in the System Tray. This would be ideal as well.

The code Calibre uses can be found here (search startup):
https://github.com/kovidgoyal/calibre/blob/master/src/calibre/gui2/preferences/server.py

In Calibre, the toggle is visible in the same area as the Server settings. I would say the way the button is displayed is a bit misleading, as it reads the opposite of the current setting.
image

I would suggest a similar location for the toggle in ComicRack, either as a button or checkbox on the following screen...
image

Thanks!

maforget added a commit that referenced this issue Oct 30, 2024
The goal is to set some settings so regardless of your existing settings, if you start the program with that switch, it will prevent the splash screen from loading and always start in the tray.

This is usefull for starting ComicRack automatically with windows.

#121
@maforget
Copy link
Owner

I've created a -hidden command line switch that will force loading minimized to tray & prevent the splash screen from appearing regardless of settings to help starting with windows.

There is no button to add it to windows startup, so for now you will need to add it to the startup folder. Type shell:startup in windows explorer to access the folder.

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