mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 16:35:19 +00:00
improve mac service
This commit is contained in:
1 parent
33c6095eca
commit
bbe902d92e
8 files changed
+68
-35
No files matched your search
+1
-1
@@ -329,7 +329,7 @@ pub async fn start_server(is_server: bool, _tray: bool) {
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
async fn sync_and_watch_config_dir() {
|
||||
if crate::username() == "root" {
|
||||
if crate::platform::is_root() {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user