diff --git a/Cargo.lock b/Cargo.lock index 191cf4013..b60215d5d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3298,8 +3298,8 @@ dependencies = [ [[package]] name = "keepawake" -version = "0.4.2" -source = "git+https://github.com/segevfiner/keepawake-rs#ade0b2baa1440807c8089e9ed24e5d722468651e" +version = "0.4.3" +source = "git+https://github.com/rustdesk-org/keepawake-rs#ac395ef826b32a077bc5d2fe108cf71fde8fe2e6" dependencies = [ "anyhow", "apple-sys", diff --git a/Cargo.toml b/Cargo.toml index 35745e5f0..6f7e8c08f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -114,7 +114,9 @@ objc_id = "0.1" tray-icon = { git = "https://github.com/rustdesk-org/tray-icon" } tao = { git = "https://github.com/rustdesk-org/tao", branch = "muda" } 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] psimple = { package = "libpulse-simple-binding", version = "2.27" }