fix server service not start after daemon installed at first time

This commit is contained in:
chenbaiyu
2022-01-14 17:36:41 +08:00
parent 07aa0898c5
commit d5286782cd
4 changed files with 16 additions and 7 deletions
@@ -2,6 +2,6 @@ set sh1 to "launchctl unload -w /Library/LaunchAgents/com.carriez.rustdesk.agent
set sh2 to "launchctl unload -w /Library/LaunchAgents/com.carriez.rustdesk.agent.user.plist;"
set sh to sh1 & sh2
do shell script sh1 with prompt "RustDesk 需要停止服务" with administrator privileges
do shell script sh with prompt "RustDesk 需要停止服务" with administrator privileges
do shell script sh2