Skip to content

Commit

Permalink
add version number to app bundle on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Aug 27, 2014
1 parent 2a31427 commit 9d8ace8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build/package_mac
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
VERSION=2.0
APPNAME=mscore
LONG_NAME=MuseScore
LONGER_NAME="MuseScore 2"


WORKING_DIRECTORY=applebuild
BACKGROUND=build/packaging/musescore-dmg-background.png
Expand All @@ -27,7 +29,7 @@ function set_bundle_display_options() {
delay 1 -- sync
set icon size of the icon view options of container window to 128
set arrangement of the icon view options of container window to not arranged
set position of item "MuseScore.app" to {400,125}
set position of item "${LONGER_NAME}.app" to {400,125}
close
open
set position of item "Applications" to {150,125}
Expand Down Expand Up @@ -100,7 +102,7 @@ rm -rf ${VOLUME}/${APPNAME}.app/Contents/Frameworks/QtBluetooth.*
rm -rf ${VOLUME}/${APPNAME}.app/Contents/Frameworks/QtWebSockets.*
rm -rf ${VOLUME}/${APPNAME}.app/Contents/Frameworks/QtNfc.*

mv ${VOLUME}/${APPNAME}.app ${VOLUME}/${LONG_NAME}.app
mv ${VOLUME}/${APPNAME}.app "${VOLUME}/${LONGER_NAME}.app"

# copy in background image
mkdir -p ${VOLUME}/Pictures
Expand Down

0 comments on commit 9d8ace8

Please sign in to comment.