Skip to content

Commit

Permalink
Macos deploy build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pokamest committed May 28, 2023
1 parent e5e8fa0 commit d858adb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions deploy/build_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,9 @@ echo "____________________________________"
echo "............Deploy.................."
echo "____________________________________"

# Package
# Package
echo "Packaging ..."

#cd $DEPLOY_DIR

$QT_BIN_DIR/macdeployqt $OUT_APP_DIR/$APP_FILENAME -always-overwrite -qmldir=$PROJECT_DIR
cp -av $BUILD_DIR/service/server/$APP_NAME-service $BUNDLE_DIR/Contents/macOS
cp -Rv $PROJECT_DIR/deploy/data/macos/* $BUNDLE_DIR/Contents/macOS
Expand Down Expand Up @@ -147,7 +145,7 @@ if [ "${MAC_CERT_PW+x}" ]; then
fi

echo "Building DMG installer..."
hdiutil create -volname $APP_NAME -srcfolder $BUILD_DIR/installer/$APP_NAME.app -ov -format UDZO $DMG_FILENAME
hdiutil create -volname /Volumes/$APP_NAME -srcfolder $BUILD_DIR/installer/$APP_NAME.app -ov -format UDZO $DMG_FILENAME

if [ "${MAC_CERT_PW+x}" ]; then
echo "Signing DMG installer..."
Expand Down

0 comments on commit d858adb

Please sign in to comment.