rather than the awful workaround
This commit is contained in:
rustdesk
2025-01-01 23:05:52 +08:00
parent 4f3b821883
commit ef90ab2bd4
6 changed files with 12 additions and 54 deletions

View File

@@ -12,7 +12,7 @@
<array>
<string>/bin/sh</string>
<string>-c</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>
<string>/Applications/RustDesk.app/Contents/MacOS/service</string>
</array>
<key>RunAtLoad</key>
<true/>