Skip to content

Commit

Permalink
#1304: Switch back to Qt6_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek committed Jan 28, 2023
1 parent 4566750 commit 5f3d931
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build-systems/github/macos/create-dmg-qt6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ if [ "$NAME" != "Darwin" ]; then
fi

env
find ${Qt6_DIR}

echo "Changing bundle identifier"
sed -i -e 's/com.yourcompany.QOwnNotes/com.PBE.QOwnNotes/g' $PLIST
Expand All @@ -33,8 +34,8 @@ rm -f ${PLIST}-e

# copy translation files to app
cp languages/*.qm $APP.app/Contents/Resources
cp ${QT_DIR}/translations/qtbase_*.qm $APP.app/Contents/Resources
#cp ${QT_DIR}/translations/qt_*.qm $APP.app/Contents/Resources
cp ${Qt6_DIR}/translations/qtbase_*.qm $APP.app/Contents/Resources
#cp ${Qt6_DIR}/translations/qt_*.qm $APP.app/Contents/Resources
#rm $APP.app/Contents/Resources/qt_help_*.qm

# copy updater script to app
Expand All @@ -43,7 +44,8 @@ cp ${QT_DIR}/translations/qtbase_*.qm $APP.app/Contents/Resources

# use macdeployqt to deploy the application
echo "Calling macdeployqt"
${QT_DIR}/bin/macdeployqt ./$APP.app
#${Qt6_DIR}/bin/macdeployqt ./$APP.app
macdeployqt ./$APP.app
if [ "$?" -ne "0" ]; then
echo "Failed to run macdeployqt"
exit 1
Expand Down

0 comments on commit 5f3d931

Please sign in to comment.