mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-25 15:13:19 +03:00
move --server check into daemon.plist
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<array>
|
||||
<string>/bin/sh</string>
|
||||
<string>-c</string>
|
||||
<string>sleep 3; /Applications/RustDesk.app/Contents/MacOS/RustDesk --service</string>
|
||||
<string>sleep 3; if pgrep -f '/Applications/RustDesk.app/Contents/MacOS/RustDesk --server' > /dev/null; then /Applications/RustDesk.app/Contents/MacOS/RustDesk --service; fi</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
|
||||
Reference in New Issue
Block a user