mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 12:35:43 +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>
|
<program>hdiutil</program>
|
||||||
<programArguments>attach -readwrite -noverify -noautoopen "${tempDmgFile}"</programArguments>
|
<programArguments>attach -readwrite -noverify -noautoopen "${tempDmgFile}"</programArguments>
|
||||||
</runProgram>
|
</runProgram>
|
||||||
<runProgram>
|
<!-- Apple script cannot talk to Finder when running via ssh -->
|
||||||
|
<!-- <runProgram>
|
||||||
<program>osascript</program>
|
<program>osascript</program>
|
||||||
<programArguments>-e 'tell application "Finder"
|
<programArguments>-e 'tell application "Finder"
|
||||||
tell disk "${project.fullName}"
|
tell disk "${project.fullName}"
|
||||||
@@ -91,7 +92,7 @@ delay 5
|
|||||||
end tell
|
end tell
|
||||||
end tell'
|
end tell'
|
||||||
</programArguments>
|
</programArguments>
|
||||||
</runProgram>
|
</runProgram> -->
|
||||||
<runProgram>
|
<runProgram>
|
||||||
<program>hdiutil</program>
|
<program>hdiutil</program>
|
||||||
<programArguments>detach "/Volumes/${project.fullName}"</programArguments>
|
<programArguments>detach "/Volumes/${project.fullName}"</programArguments>
|
||||||
|
|||||||
Reference in New Issue
Block a user