mac: mitigate "device busy" chances when ejecting DMG

This commit is contained in:
Robin Gareus
2024-11-22 15:59:07 +01:00
parent 4fbdf0d680
commit 4e55570934

View File

@@ -1088,6 +1088,7 @@ fi
osascript << EOF
tell application "Finder"
close every window
activate
tell disk "${DISKNAME}"
open
@@ -1126,6 +1127,8 @@ EOF
chmod -Rf go-w "${MNTPATH}"
sync
sleep 1
sync
set -e
echo "compressing Image ..."