Files
rustdesk/src/platform/privileges_scripts/launch_service.scpt
2022-01-14 18:28:39 +08:00

7 lines
303 B
AppleScript

set sh1 to "launchctl load -w /Library/LaunchAgents/com.carriez.rustdesk.agent.root.plist;"
set sh2 to "launchctl load -w /Library/LaunchAgents/com.carriez.rustdesk.agent.user.plist;"
do shell script sh1 with prompt "RustDesk want to launch services" with administrator privileges
do shell script sh2