diff --git a/Info.plist b/Info.plist index 18bdd64e..fb6c769c 100644 --- a/Info.plist +++ b/Info.plist @@ -20,10 +20,10 @@ Rack CFBundleIconFile icon - CFBundleLongVersionString - CFBundleShortVersionString - + {VERSION} + CFBundleGetInfoString + {VERSION}, VCV NSPrincipalClass NSApplication NSHighResolutionCapable diff --git a/Makefile b/Makefile index 5b966eb2..622f9ba3 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,8 @@ FLAGS += \ include arch.mk STRIP ?= strip +SED := perl -p -i -e +# SED := sed -i # Sources and build flags @@ -100,6 +102,7 @@ ifdef ARCH_MAC mkdir -p $(BUNDLE)/Contents mkdir -p $(BUNDLE)/Contents/Resources cp Info.plist $(BUNDLE)/Contents/ + $(SED) 's/{VERSION}/$(VERSION)/g' $(BUNDLE)/Contents/Info.plist cp -R LICENSE* icon.icns res $(BUNDLE)/Contents/Resources mkdir -p $(BUNDLE)/Contents/MacOS