fix plist files and enhance privilege escalation method
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
set sh1 to "launchctl unload -w /Library/LaunchAgents/com.carriez.rustdesk.agent.root.plist;"
|
||||
|
||||
set sh2 to "launchctl unload -w /Library/LaunchAgents/com.carriez.rustdesk.agent.user.plist;"
|
||||
|
||||
set sh to sh1 & sh2
|
||||
|
||||
do shell script sh with prompt "RustDesk 需要停止服务" with administrator privileges
|
||||
Reference in New Issue
Block a user