mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-29 17:32:17 -07:00
Revert timeout change
This commit is contained in:
parent
a729b47f74
commit
ead88bc4a4
1 changed files with 47 additions and 51 deletions
|
|
@ -1,11 +1,8 @@
|
||||||
on run argv
|
on run argv
|
||||||
set image_name to item 1 of argv
|
set image_name to item 1 of argv
|
||||||
|
|
||||||
-- Increase timeout from default 120 seconds to 600 seconds
|
tell application "Finder"
|
||||||
-- to account for slower CI environments (especially Intel runners)
|
tell disk image_name
|
||||||
with timeout of 600 seconds
|
|
||||||
tell application "Finder"
|
|
||||||
tell disk image_name
|
|
||||||
|
|
||||||
-- wait for the image to finish mounting
|
-- wait for the image to finish mounting
|
||||||
set open_attempts to 0
|
set open_attempts to 0
|
||||||
|
|
@ -51,8 +48,7 @@ with timeout of 600 seconds
|
||||||
delay 5
|
delay 5
|
||||||
close
|
close
|
||||||
|
|
||||||
end tell
|
end tell
|
||||||
delay 1
|
delay 1
|
||||||
end tell
|
end tell
|
||||||
end timeout
|
|
||||||
end run
|
end run
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue