1.增加设备名称和状态
2.测试windows服务
This commit is contained in:
@@ -14,10 +14,11 @@ dirs = "4.0.0"
|
||||
log = "0.4.17"
|
||||
log4rs = "1.2.0"
|
||||
tokio = { version = "1.24.1", features = ["full"] }
|
||||
|
||||
chrono = "0.4.23"
|
||||
[target.'cfg(any(target_os = "linux",target_os = "macos"))'.dependencies]
|
||||
sudo = "0.6.0"
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
winapi = { version = "0.3.9", features = ["handleapi", "processthreadsapi", "winnt", "securitybaseapi", "impl-default"] }
|
||||
runas = "0.2.1"
|
||||
windows-service = "0.5.0"
|
||||
|
||||
Reference in New Issue
Block a user