Skip to content

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

make-app: sign bundled tools with the Developer ID and hardened runtime, notarization rejects them otherwise

Gauthier Piarrette4cb996e0a881
diff --git a/Scripts/make-app.sh b/Scripts/make-app.sh
index c60e92e..c4f2261 100755
--- a/Scripts/make-app.sh
+++ b/Scripts/make-app.sh
@@ -124,6 +124,11 @@ if [ -n "$IDENTITY" ]; then
codesign --force --options runtime --timestamp -s "$IDENTITY" "$APP/Contents/Frameworks/Sparkle.framework/Versions/B/Autoupdate"
codesign --force --options runtime --timestamp -s "$IDENTITY" "$APP/Contents/Frameworks/Sparkle.framework/Versions/B/Updater.app"
codesign --force --options runtime --timestamp -s "$IDENTITY" "$APP/Contents/Frameworks/Sparkle.framework"
+ # Bundled command-line tools are Mach-O executables too: notarization rejects them unsigned
+ # (cabextract, 2026-09-14: "not signed with a valid Developer ID", no hardened runtime).
+ for tool in "$APP"/Contents/Resources/tools/*; do
+ case "$tool" in *.LICENSE) ;; *) codesign --force --options runtime --timestamp -s "$IDENTITY" "$tool" ;; esac
+ done
codesign --force --options runtime --timestamp --entitlements dist/entitlements.plist -s "$IDENTITY" "$APP"
else
codesign --force --deep -s - "$APP"