mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 15:26:09 +00:00
Stop single-arch binary build before extracting dSYM
This commit is contained in:
parent
ab25a9b8ee
commit
088c9b9e4e
@ -50,6 +50,11 @@ pushd $BUILD_FOLDER
|
|||||||
make -j$(sysctl -n hw.logicalcpu) $(echo "$BUILD_CONFIG" | tr '[:upper:]' '[:lower:]') || fail "Make failed!"
|
make -j$(sysctl -n hw.logicalcpu) $(echo "$BUILD_CONFIG" | tr '[:upper:]' '[:lower:]') || fail "Make failed!"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
if [ "$ARCH" != "" ]; then
|
||||||
|
echo Single arch binary build successful
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$MOONLIGHT_ALT_ARCH" != "" ]; then
|
if [ "$MOONLIGHT_ALT_ARCH" != "" ]; then
|
||||||
echo Creating Universal binary with alternate arch
|
echo Creating Universal binary with alternate arch
|
||||||
lipo $BUILD_FOLDER/app/Moonlight.app/Contents/MacOS/Moonlight $BUILD_FOLDER-$MOONLIGHT_ALT_ARCH/app/Moonlight.app/Contents/MacOS/Moonlight -create -o $BUILD_FOLDER/app/Moonlight.app/Contents/MacOS/Moonlight
|
lipo $BUILD_FOLDER/app/Moonlight.app/Contents/MacOS/Moonlight $BUILD_FOLDER-$MOONLIGHT_ALT_ARCH/app/Moonlight.app/Contents/MacOS/Moonlight -create -o $BUILD_FOLDER/app/Moonlight.app/Contents/MacOS/Moonlight
|
||||||
@ -61,11 +66,6 @@ dsymutil app/Moonlight.app/Contents/MacOS/Moonlight -o Moonlight-$VERSION.dsym |
|
|||||||
cp -R Moonlight-$VERSION.dsym $INSTALLER_FOLDER || fail "dSYM copy failed!"
|
cp -R Moonlight-$VERSION.dsym $INSTALLER_FOLDER || fail "dSYM copy failed!"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
if [ "$ARCH" != "" ]; then
|
|
||||||
echo Single arch binary build successful
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo Creating app bundle
|
echo Creating app bundle
|
||||||
EXTRA_ARGS=
|
EXTRA_ARGS=
|
||||||
if [ "$BUILD_CONFIG" == "Debug" ]; then EXTRA_ARGS="$EXTRA_ARGS -use-debug-libs"; fi
|
if [ "$BUILD_CONFIG" == "Debug" ]; then EXTRA_ARGS="$EXTRA_ARGS -use-debug-libs"; fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user