wip: windows service mode

This commit is contained in:
GyDi
2022-04-23 17:26:32 +08:00
parent 2959cd140b
commit c9b0f22a2e
4 changed files with 407 additions and 135 deletions

View File

@@ -38,8 +38,9 @@ auto-launch = "0.2"
port_scanner = "0.1.5"
[target.'cfg(windows)'.dependencies]
runas = "0.2.1"
deelevate = "0.2.0"
winreg = { version = "0.10", features = ["transactions"] }
windows-service = "0.4.0"
[features]
default = ["custom-protocol"]