mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
still not robust
This commit is contained in:
@@ -3,7 +3,4 @@ set sh2 to "/bin/rm /Library/LaunchDaemons/com.carriez.RustDesk_service.plist;"
|
||||
set sh3 to "/bin/rm /Library/LaunchAgents/com.carriez.RustDesk_server.plist;"
|
||||
|
||||
set sh to sh1 & sh2 & sh3
|
||||
do shell script sh with prompt "RustDesk want to unload daemon" with administrator privileges
|
||||
|
||||
set sh5 to "[ ! -f /Library/LaunchAgents/com.carriez.RustDesk_server.plist ] && launchctl remove com.carriez.RustDesk_server && sleep 1 && open /Applications/RustDesk.app"
|
||||
do shell script sh5
|
||||
do shell script sh with prompt "RustDesk want to unload daemon" with administrator privileges
|
||||
Reference in New Issue
Block a user