mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 07:15:27 +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
@ -55,6 +55,9 @@ if [ "$BUILD_CONFIG" == "Debug" ]; then EXTRA_ARGS="$EXTRA_ARGS -use-debug-libs"
|
|||||||
echo Extra deployment arguments: $EXTRA_ARGS
|
echo Extra deployment arguments: $EXTRA_ARGS
|
||||||
macdeployqt $BUILD_FOLDER/app/Moonlight.app $EXTRA_ARGS -qmldir=$SOURCE_ROOT/app/gui -appstore-compliant || fail "macdeployqt failed!"
|
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
|
if [ "$SIGNING_IDENTITY" != "" ]; then
|
||||||
echo Signing app bundle
|
echo Signing app bundle
|
||||||
codesign --force --deep --options runtime --timestamp --sign "$SIGNING_IDENTITY" $BUILD_FOLDER/app/Moonlight.app || fail "Signing failed!"
|
codesign --force --deep --options runtime --timestamp --sign "$SIGNING_IDENTITY" $BUILD_FOLDER/app/Moonlight.app || fail "Signing failed!"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user