-
Notifications
You must be signed in to change notification settings - Fork 27
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
添加Windows服务的功能 #38
添加Windows服务的功能 #38
Conversation
GitHub Action 顺利的完成构建了, 并产生了一个 Nightly Build (https://github.com/Simple-Tracker/qBittorrent-ClientBlocker/actions/runs/8400450245), 可供测试. configPath 和 logPath 修改的用途没太看懂, 默认情况下这个应该是同时支持相对和绝对路径的, 其相对路径是当前工作目录或程序目录 (取决于 另: 还有一问题: |
a20dc76
to
2c0b8dd
Compare
感谢回复。 |
默认情况下工作路径是会切换至程序路径: qBittorrent-ClientBlocker/console.go Lines 416 to 427 in bebf867
因此在初始化完毕之前, 可考虑不记录日志到文件, 以避免修改 Log 记录.
可试图指定服务运行用户为当前用户. go RegHotkey 是非阻塞的异步方法. |
bbf95b7
to
f710600
Compare
e3131c7
to
f362823
Compare
由于闲置一周先行关闭, 若有新提交和改动可追加后重新打开此 PR! |
添加Windows服务的功能,使应用程序可以注册为Windows服务,在后台静默运行。
#37