From 373af3f9987fbc2dfb12cff6466768e1d1f0b6a8 Mon Sep 17 00:00:00 2001 From: Konstantin Dmitriev Date: Dec 19 2019 14:45:55 +0000 Subject: Fix error introduced in c2f156175a2566 --- diff --git a/3-package-osx-dmg.sh b/3-package-osx-dmg.sh index 9c19340..0d945bb 100755 --- a/3-package-osx-dmg.sh +++ b/3-package-osx-dmg.sh @@ -263,7 +263,7 @@ mkapp() # app bundle files echo "*** Please do _NOT_ delete this file. The file script depends on it. ***" > "$APPCONTENTS/v$VERSION" - sed -i "" -e "s/_VERSION_/$VERSION/g" "$APPDIR/Contents/MacOS/SynfigStudio" + sed -i "" -e "s/_VERSION_/$VERSION/g" "$APPDIR/Contents/MacOS/SynfigStudio.sh" sed -i "" -e "s/_VERSION_/$VERSION/g" "$APPDIR/Contents/Info.plist" # save information about the ports which make up this build @@ -311,6 +311,7 @@ mkdmg() cp -R ${SCRIPTPATH}/synfig-studio/COPYING /Volumes/"$VOLNAME"/LICENSE.txt cp -R ${SCRIPTPATH}/autobuild/osx/README_FIRST.pdf /Volumes/"$VOLNAME"/README_FIRST.pdf mv /Volumes/"$VOLNAME"/SynfigStudio.app/Contents/MacOS/synfigstudio /Volumes/"$VOLNAME"/SynfigStudio.app/Contents/MacOS/SynfigStudio || true + mv /Volumes/"$VOLNAME"/SynfigStudio.app/Contents/MacOS/synfigstudio.sh /Volumes/"$VOLNAME"/SynfigStudio.app/Contents/MacOS/SynfigStudio.sh || true # open the window so that the icon database is generated open /Volumes/"$VOLNAME" || true