Info.plist: CFBundleShortVersionString

This commit is contained in:
Thomas Bernard 2021-09-14 23:33:35 +02:00 committed by Adrien Destugues
parent 7d25c88e26
commit 1cc88b9d3f
2 changed files with 3 additions and 1 deletions

View File

@ -20,6 +20,8 @@
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>CFBundleShortVersionString</key>
<string>Grafx2 version 2.8.3104</string>
<key>NSMainNibFile</key>
<string>SDLMain</string>
<key>NSPrincipalClass</key>

View File

@ -929,10 +929,10 @@ $(MACAPPEXE) : $(BIN)
mkdir -p Grafx2.app/Contents/Resources/scripts/samples/palette
mkdir -p Grafx2.app/Contents/Resources/scripts/samples/picture
echo 'APPL????' > Grafx2.app/Contents/PkgInfo
cp Info.plist Grafx2.app/Contents
cp Grafx2.icns Grafx2.app/Contents/Resources
cp ../share/grafx2/gfx2.png Grafx2.app/Contents/Resources
mkdir -p Grafx2.app/Contents/Resources/English.lproj
cat Info.plist | sed -e 's/Grafx2 version [.0-9]*/Grafx2 version $(VERSIONTAG)/' > Grafx2.app/Contents/Info.plist
iconv -f UTF-16BE English.lproj/InfoPlist.strings | sed -e 's/Grafx2 version [.0-9]*/Grafx2 version $(VERSIONTAG)/' | iconv -t UTF-16BE > Grafx2.app/Contents/Resources/English.lproj/InfoPlist.strings
cp -r ../share/grafx2/fonts Grafx2.app/Contents/Resources
cp -r ../share/grafx2/skins Grafx2.app/Contents/Resources