mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
[MacOS] Comment out osascript for the time being
osascript tries to talk to Finder, which is not possible when running the Mac OS slave over ssh.
This commit is contained in:
@@ -71,7 +71,8 @@
|
||||
<program>hdiutil</program>
|
||||
<programArguments>attach -readwrite -noverify -noautoopen "${tempDmgFile}"</programArguments>
|
||||
</runProgram>
|
||||
<runProgram>
|
||||
<!-- Apple script cannot talk to Finder when running via ssh -->
|
||||
<!-- <runProgram>
|
||||
<program>osascript</program>
|
||||
<programArguments>-e 'tell application "Finder"
|
||||
tell disk "${project.fullName}"
|
||||
@@ -91,7 +92,7 @@ delay 5
|
||||
end tell
|
||||
end tell'
|
||||
</programArguments>
|
||||
</runProgram>
|
||||
</runProgram> -->
|
||||
<runProgram>
|
||||
<program>hdiutil</program>
|
||||
<programArguments>detach "/Volumes/${project.fullName}"</programArguments>
|
||||
|
||||
Reference in New Issue
Block a user