Revert timeout change

This commit is contained in:
tooomm 2026-08-18 22:31:25 +02:00
parent a729b47f74
commit ead88bc4a4

View file

@ -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