mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-10 05:34:17 +00:00
Remove dSYM files from macOS app bundle
macdeployqt incorrectly copies these if they are installed, which bloats the final DMG significantly. See https://bugreports.qt.io/browse/QTBUG-56590
This commit is contained in:
parent
62011c37f4
commit
289a7165b3
1 changed files with 3 additions and 0 deletions
|
@ -55,6 +55,9 @@ if [ "$BUILD_CONFIG" == "Debug" ]; then EXTRA_ARGS="$EXTRA_ARGS -use-debug-libs"
|
|||
echo Extra deployment arguments: $EXTRA_ARGS
|
||||
macdeployqt $BUILD_FOLDER/app/Moonlight.app $EXTRA_ARGS -qmldir=$SOURCE_ROOT/app/gui -appstore-compliant || fail "macdeployqt failed!"
|
||||
|
||||
echo Removing dSYM files from app bundle
|
||||
find $BUILD_FOLDER/app/Moonlight.app/ -name '*.dSYM' | xargs rm -rf
|
||||
|
||||
if [ "$SIGNING_IDENTITY" != "" ]; then
|
||||
echo Signing app bundle
|
||||
codesign --force --deep --options runtime --timestamp --sign "$SIGNING_IDENTITY" $BUILD_FOLDER/app/Moonlight.app || fail "Signing failed!"
|
||||
|
|
Loading…
Reference in a new issue