mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-27 15:11:01 +03:00
remove unused import and launch service when install
This commit is contained in:
@@ -4,6 +4,13 @@ set sh1 to "cp " & current_dir & "com.carriez.rustdesk.daemon.plist /Library/Lau
|
||||
set sh2 to "cp " & current_dir & "com.carriez.rustdesk.agent.root.plist /Library/LaunchAgents/com.carriez.rustdesk.agent.root.plist && chown root:wheel /Library/LaunchAgents/com.carriez.rustdesk.agent.root.plist"
|
||||
set sh3 to "cp " & current_dir & "com.carriez.rustdesk.agent.user.plist /Library/LaunchAgents/com.carriez.rustdesk.agent.user.plist && chown root:wheel /Library/LaunchAgents/com.carriez.rustdesk.agent.user.plist"
|
||||
|
||||
set sh to sh1 & ";" & sh2 & ";" & sh3
|
||||
set sh to sh1 & ";" & sh2 & ";" & sh3 & "
|
||||
launchctl enable system/com.carriez.rustdesk.daemon;
|
||||
launchctl start system/com.carriez.rustdesk.daemon;
|
||||
launchctl enable system/com.carriez.rustdesk.agent.root;
|
||||
launchctl start system/com.carriez.rustdesk.agent.root;
|
||||
launchctl enable system/com.carriez.rustdesk.agent.user
|
||||
launchctl start system/com.carriez.rustdesk.agent.user
|
||||
"
|
||||
|
||||
do shell script sh with prompt "RustDesk需要安装服务plist" with administrator privileges
|
||||
do shell script sh with prompt "RustDesk需要安装服务" with administrator privileges
|
||||
Reference in New Issue
Block a user