ci(macos): place appicon.icns into the bundle

This commit is contained in:
jwinterm
2026-08-29 13:15:24 -04:00
parent f4c5ec3c25
commit a526061d97
+4
View File
@@ -69,6 +69,10 @@ jobs:
[ -n "$APP" ] || { echo "no .app bundle produced"; ls -la bin/; exit 1; } [ -n "$APP" ] || { echo "no .app bundle produced"; ls -la bin/; exit 1; }
mkdir -p dist mkdir -p dist
cp -R "$APP" dist/Wowlet.app cp -R "$APP" dist/Wowlet.app
# cmake never places the icon in the bundle (upstream only copies it
# for the dormant `installed/` layout)
mkdir -p dist/Wowlet.app/Contents/Resources
cp ../src/assets/images/appicons/appicon.icns dist/Wowlet.app/Contents/Resources/
# bundle Qt frameworks/plugins so the app runs off-machine # bundle Qt frameworks/plugins so the app runs off-machine
/opt/homebrew/opt/qt/bin/macdeployqt dist/Wowlet.app /opt/homebrew/opt/qt/bin/macdeployqt dist/Wowlet.app
ls -la dist/ ls -la dist/