Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bsclifton/svcmgr
A very simple Windows app that puts itself in the tray
https://github.com/bsclifton/svcmgr
Last synced: about 1 month ago
JSON representation
A very simple Windows app that puts itself in the tray
- Host: GitHub
- URL: https://github.com/bsclifton/svcmgr
- Owner: bsclifton
- Created: 2023-04-05T07:56:44.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-24T06:43:21.000Z (over 1 year ago)
- Last Synced: 2024-12-12T07:40:23.347Z (about 1 month ago)
- Language: C++
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## svcmgr
A very simple Windows app that puts itself in the tray.![Example interface](/i/ui.png?raw=true "Example interface")
Add a shortcut to `shell:startup` and enjoy. May require admin access when launching.
Tray icon:
- uses _r/stopped.ico when service is stopped
- uses _r/running.ico when service is startedClicking the tray icon opens a dialog where you can see/set config values.
A few easy to replace values in the code:
- `MY_SERVICE_NAME` the actual service name (minus the .exe; what shows in services.msc)
- `MY_SERVICE_NAME_FRIENDLY` the friendly name (shows as tooltip on hover)The config for this program is looking in the registry:
- Looks under "HKEY_LOCAL_MACHINE\Software\CompanyName" (`MY_SERVICE_REGISTRY_PATH`)
- Looks for path to folder under "MyServiceInstallPath" (`MY_SERVICE_REGISTRY_INSTALL_PATH_KEY`)
- Tries to open a config "config.bin" (`CONFIG_FILE_NAME`)You can replace the values in config.cpp (`MY_SERVICE_REGISTRY_PATH`, etc) or remove that altogether.