Run Windows games on Apple Silicon — free, open source, with an open compatibility database that tells you what actually works.
Swift apple-silicond3dmetaldxmtdxvkfexgame-porting-toolkitgamingmac-gamingmacosmetalmoltenvksteamswiftuivkd3d-protonwhisky-alternativewindows-gameswinewine-wrapper
Release: eject a leftover Highball volume instead of aborting
Gauthier Piarrette930b149a297d
diff --git a/Scripts/dmg-layout.sh b/Scripts/dmg-layout.shindex 2d68672..ceab50f 100755--- a/Scripts/dmg-layout.sh+++ b/Scripts/dmg-layout.sh@@ -8,7 +8,8 @@set -euo pipefailcd "$(dirname "$0")/.."test -d dist/Highball.app || { echo "dist/Highball.app missing; run Scripts/make-app.sh debug first" >&2; exit 1; }-test ! -e /Volumes/Highball || { echo "a Highball volume is already mounted; eject it first" >&2; exit 1; }+# A Highball volume left mounted by an earlier run aborted two releases; eject it instead.+if [ -e /Volumes/Highball ]; then echo "ejecting a mounted Highball volume" >&2; hdiutil detach /Volumes/Highball -force >/dev/null 2>&1 || { echo "could not eject /Volumes/Highball" >&2; exit 1; }; fi# Geometry: keep in sync with make-dmg-background.swift (WIN_W x WIN_H is the content area).# Finder's AppleScript bounds include the title bar, measured at 32 pt on macOS 26; thediff --git a/Scripts/make-dmg.sh b/Scripts/make-dmg.shindex 006f062..a04b2df 100755--- a/Scripts/make-dmg.sh+++ b/Scripts/make-dmg.sh@@ -5,7 +5,8 @@# Usage: Scripts/make-dmg.shset -euo pipefailcd "$(dirname "$0")/.."-test ! -e /Volumes/Highball || { echo "a Highball volume is already mounted; eject it first" >&2; exit 1; }+# A Highball volume left mounted by an earlier run aborted two releases; eject it instead.+if [ -e /Volumes/Highball ]; then echo "ejecting a mounted Highball volume" >&2; hdiutil detach /Volumes/Highball -force >/dev/null 2>&1 || { echo "could not eject /Volumes/Highball" >&2; exit 1; }; fiDMG=dist/Highball.dmgWORK=dist/dmg-work