remove windows keepawake dep

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages 2023-06-30 11:50:16 +08:00
parent a24ce160af
commit 34f71ccdb0
2 changed files with 5 additions and 3 deletions

4
Cargo.lock generated
View File

@ -3298,8 +3298,8 @@ dependencies = [
[[package]] [[package]]
name = "keepawake" name = "keepawake"
version = "0.4.2" version = "0.4.3"
source = "git+https://github.com/segevfiner/keepawake-rs#ade0b2baa1440807c8089e9ed24e5d722468651e" source = "git+https://github.com/rustdesk-org/keepawake-rs#ac395ef826b32a077bc5d2fe108cf71fde8fe2e6"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"apple-sys", "apple-sys",

View File

@ -114,7 +114,9 @@ objc_id = "0.1"
tray-icon = { git = "https://github.com/rustdesk-org/tray-icon" } tray-icon = { git = "https://github.com/rustdesk-org/tray-icon" }
tao = { git = "https://github.com/rustdesk-org/tao", branch = "muda" } tao = { git = "https://github.com/rustdesk-org/tao", branch = "muda" }
image = "0.24" image = "0.24"
keepawake = { git = "https://github.com/segevfiner/keepawake-rs" }
[target.'cfg(any(target_os = "macos", target_os = "linux"))'.dependencies]
keepawake = { git = "https://github.com/rustdesk-org/keepawake-rs" }
[target.'cfg(target_os = "linux")'.dependencies] [target.'cfg(target_os = "linux")'.dependencies]
psimple = { package = "libpulse-simple-binding", version = "2.27" } psimple = { package = "libpulse-simple-binding", version = "2.27" }