Skip to content

Run Windows games on Apple Silicon — free, open source, with an open compatibility database that tells you what actually works.

release: ship a notarized DMG as the download; verify published assets

Gauthier Piarrette14b65779a9ae
diff --git a/README.md b/README.md
index cbb628c..b03fe36 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ where every claim carries its provenance.
> Status: **beta**. Notarized, auto-updating, working end to end: engine install → bottle →
> Steam login → game, with per-bottle renderer switching and msync-accelerated launches.
-> **[Download Highball](https://github.com/gauthierpiarrette/highball/releases/latest)** — Apple Silicon, macOS 14+.
+> **[Download Highball](https://github.com/gauthierpiarrette/highball/releases/latest/download/Highball.dmg)** — Apple Silicon, macOS 14+.
## Design principles (learned the hard way)
@@ -33,7 +33,7 @@ Highball is built around that lesson:
## Install
-**[Download Highball](https://github.com/gauthierpiarrette/highball/releases/latest)**, drag it
+**[Download Highball](https://github.com/gauthierpiarrette/highball/releases/latest/download/Highball.dmg)**, drag it
to Applications, open it. The app walks you through the rest — engine download, your first
bottle, Steam. Requires Apple Silicon and macOS 14+ (it prompts for Rosetta 2 if needed).
diff --git a/Scripts/release.sh b/Scripts/release.sh
index 648e5ff..f6506e8 100755
--- a/Scripts/release.sh
+++ b/Scripts/release.sh
@@ -52,11 +52,38 @@ xml.dom.minidom.parse('appcast.xml')
print('appcast.xml valid')
PY
+# DMG is THE user-facing download: unzip and many third-party unarchivers destroy the zip's
+# Sparkle symlinks, which breaks the signature and triggers Gatekeeper's malware warning
+# (proven 2026-08-25, repeated Reddit reports). A DMG has no extraction step to mangle.
+# The zip stays as the Sparkle update enclosure. Landing/README link
+# .../releases/latest/download/Highball.dmg, so the DMG asset name must stay unversioned.
+DMG="dist/Highball.dmg"
+rm -rf dist/dmg-stage "$DMG"; mkdir dist/dmg-stage
+ditto dist/Highball.app dist/dmg-stage/Highball.app
+ln -s /Applications dist/dmg-stage/Applications
+hdiutil create -volname "Highball" -srcfolder dist/dmg-stage -ov -format UDZO "$DMG" -quiet
+codesign --sign "Developer ID Application: Gauthier PIARRETTE (B95M7DARU4)" --timestamp "$DMG"
+xcrun notarytool submit "$DMG" --keychain-profile highball --wait
+xcrun stapler staple "$DMG"
+
if [ -n "$NOTES_FILE" ]; then
- gh release create "v$VERSION" "$ZIP" --latest --title "Highball $VERSION" --notes-file "$NOTES_FILE"
+ gh release create "v$VERSION" "$ZIP" "$DMG" --latest --title "Highball $VERSION" --notes-file "$NOTES_FILE"
else
- gh release create "v$VERSION" "$ZIP" --latest --title "Highball $VERSION" --notes "$SUMMARY"
+ gh release create "v$VERSION" "$ZIP" "$DMG" --latest --title "Highball $VERSION" --notes "$SUMMARY"
fi
git add appcast.xml && git commit -m "release: v$VERSION appcast" && git push
+
+# Post-publish gate: download the published assets back and verify them exactly as users do.
+# Any failure aborts loudly (set -e) — a release is not done until this passes.
+GATE=$(mktemp -d)
+curl -sL -o "$GATE/app.dmg" "https://github.com/gauthierpiarrette/highball/releases/download/v$VERSION/Highball.dmg"
+xcrun stapler validate "$GATE/app.dmg"
+spctl --assess --type open --context context:primary-signature "$GATE/app.dmg"
+curl -sL -o "$GATE/app.zip" "$DOWNLOAD_URL"
+ditto -x -k "$GATE/app.zip" "$GATE/x"
+xcrun stapler validate "$GATE/x/Highball.app"
+spctl --assess --type execute "$GATE/x/Highball.app"
+rm -rf "$GATE"
+echo "post-publish verification passed: dmg + zip notarized as downloaded"
echo "released v$VERSION — appcast live once the push lands"
diff --git a/docs/index.html b/docs/index.html
index 7949e5e..922da5e 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -57,9 +57,9 @@
<h1>Highball</h1>
<p class="tag">Run your Windows games on Apple Silicon. Free, open source, and honest about what works — down to which renderer each game needs.</p>
<div class="cta">
- <a class="btn" href="https://github.com/gauthierpiarrette/highball/releases/latest">Download for macOS</a>
+ <a class="btn" href="https://github.com/gauthierpiarrette/highball/releases/latest/download/Highball.dmg">Download for macOS</a>
</div>
- <p class="sub">notarized · auto-updating · Apple Silicon · macOS 14+ · GPL-3, no paid tier ever</p>
+ <p class="sub">notarized .dmg · auto-updating · Apple Silicon · macOS 14+ · GPL-3, no paid tier ever</p>
<div class="shot">
<img src="app.png" alt="Highball's window: a bottle with a verified game card, renderer verdict, and one-click launcher installs">
</div>