Added Windows service mode!

This commit is contained in:
Revertron
2023-06-08 00:07:15 +02:00
parent 09303149d9
commit aa500b3ad8
4 changed files with 369 additions and 76 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "alfis"
version = "0.8.4"
version = "0.8.5"
authors = ["Revertron <alfis@revertron.com>"]
edition = "2021"
build = "build.rs"
@@ -52,6 +52,7 @@ open = { version = "3.0.3", optional = true }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", features = ["impl-default", "wincon", "shellscalingapi"] }
windows-service = "0.6.0"
thread-priority = "0.10.0"
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies]