From 51ea2695487bea419d8e6664f97a5bf3bffcb9a4 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Mon, 23 Jul 2018 03:45:05 -0400 Subject: [PATCH 1/2] Add VERSION to Info.plist --- Info.plist | 6 +++--- Makefile | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) 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 From 198149129f747e0080585be5ecebf7538b9555c2 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Mon, 23 Jul 2018 04:03:34 -0400 Subject: [PATCH 2/2] Tweak Info.plist --- Info.plist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Info.plist b/Info.plist index fb6c769c..02d829e7 100644 --- a/Info.plist +++ b/Info.plist @@ -22,8 +22,8 @@ icon CFBundleShortVersionString {VERSION} - CFBundleGetInfoString - {VERSION}, VCV + NSHumanReadableCopyright + Copyright © VCV NSPrincipalClass NSApplication NSHighResolutionCapable