mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-04 00:51:29 +03:00
replace pkexec with gtk sudo (#9383)
* Fix https://github.com/rustdesk/rustdesk/issues/9286, replace pkexec with gtk sudo. Tested on gnome (ubuntu 22.04, debian 13), xfce (manjaro, suse), kde (kubuntu 23), lxqt (lubuntu 22), Cinnamon (mint 21.3), Mate (mint 21.2) * Fix incorrect config of the main window opened by the tray, replace xdg-open with run_me, replace with dbus + run_me * Fix `check_if_stop_service`, it causes the problem fixed in https://github.com/rustdesk/rustdesk/pull/8414, now revert that fix and fix itself. Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
23
Cargo.lock
generated
23
Cargo.lock
generated
@@ -860,6 +860,12 @@ version = "0.1.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e"
|
||||
|
||||
[[package]]
|
||||
name = "cfg_aliases"
|
||||
version = "0.2.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
|
||||
|
||||
[[package]]
|
||||
name = "chrono"
|
||||
version = "0.4.38"
|
||||
@@ -3967,11 +3973,23 @@ checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4"
|
||||
dependencies = [
|
||||
"bitflags 2.6.0",
|
||||
"cfg-if 1.0.0",
|
||||
"cfg_aliases",
|
||||
"cfg_aliases 0.1.1",
|
||||
"libc",
|
||||
"memoffset 0.9.1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nix"
|
||||
version = "0.29.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46"
|
||||
dependencies = [
|
||||
"bitflags 2.6.0",
|
||||
"cfg-if 1.0.0",
|
||||
"cfg_aliases 0.2.1",
|
||||
"libc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nom"
|
||||
version = "7.1.3"
|
||||
@@ -5494,6 +5512,7 @@ dependencies = [
|
||||
"flutter_rust_bridge",
|
||||
"fon",
|
||||
"fruitbasket",
|
||||
"gtk",
|
||||
"hbb_common",
|
||||
"hex",
|
||||
"hound",
|
||||
@@ -5508,6 +5527,7 @@ dependencies = [
|
||||
"libpulse-simple-binding",
|
||||
"mac_address",
|
||||
"magnum-opus",
|
||||
"nix 0.29.0",
|
||||
"num_cpus",
|
||||
"objc",
|
||||
"objc_id",
|
||||
@@ -5539,6 +5559,7 @@ dependencies = [
|
||||
"system_shutdown",
|
||||
"tao",
|
||||
"tauri-winrt-notification",
|
||||
"termios",
|
||||
"totp-rs",
|
||||
"tray-icon",
|
||||
"url",
|
||||
|
||||
Reference in New Issue
Block a user