diff --git a/src/English.lproj/InfoPlist.strings b/src/English.lproj/InfoPlist.strings index 5b8bc99a..ec5d012c 100644 Binary files a/src/English.lproj/InfoPlist.strings and b/src/English.lproj/InfoPlist.strings differ diff --git a/src/Info.plist b/src/Info.plist index 039fcc61..5b00bc39 100644 --- a/src/Info.plist +++ b/src/Info.plist @@ -19,12 +19,15 @@ CFBundleSignature ???? CFBundleVersion - 1.0 + GRAFX2_VERSION CFBundleShortVersionString - Grafx2 version 2.8.3104 + GRAFX2_VERSION NSMainNibFile SDLMain NSPrincipalClass NSApplication + NSHumanReadableCopyright + Copyright 2008-2021 the Grafx2 project team. +MacOS X version by Franck Charlet. diff --git a/src/Makefile b/src/Makefile index f4b9e1ad..a92c5af6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -72,6 +72,7 @@ else endif VERSIONTAG = $(subst wip.,wip,$(LABEL).$(GIT_REVISION)) + VERSIONPLIST = $(shell echo $(VERSIONTAG) | cut -d- -f1) CFLAGS_CACHE = $(OBJDIR)/.cflags.cache @@ -932,8 +933,8 @@ $(MACAPPEXE) : $(BIN) 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 + cat Info.plist | sed -e 's/GRAFX2_VERSION/$(VERSIONPLIST)/' > Grafx2.app/Contents/Info.plist + iconv -f UTF-16BE English.lproj/InfoPlist.strings | sed -e 's/GRAFX2_VERSION/$(VERSIONPLIST)/' | 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 cp -r ../share/grafx2/gfx2def.ini Grafx2.app/Contents/Resources