From 9106483b6a4edeceb644466c537ffbaa9c17b451 Mon Sep 17 00:00:00 2001 From: cryptocode Date: Mon, 28 Jan 2019 21:29:46 +0100 Subject: [PATCH] Add version info to Info.plist (#1631) --- CMakeLists.txt | 1 + Info.plist => Info.plist.in | 4 ++++ 2 files changed, 5 insertions(+) rename Info.plist => Info.plist.in (69%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 93f0a049..0a9b2f21 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -361,6 +361,7 @@ if (NANO_GUI OR RAIBLOCKS_GUI) endif () if (APPLE) + CONFIGURE_FILE(Info.plist.in Info.plist @ONLY) install (TARGETS nano_wallet DESTINATION Nano.app/Contents/MacOS) install (FILES Info.plist DESTINATION Nano.app/Contents) install (FILES qt.conf DESTINATION Nano.app/Contents/Resources) diff --git a/Info.plist b/Info.plist.in similarity index 69% rename from Info.plist rename to Info.plist.in index c5ca4049..37e5d9df 100644 --- a/Info.plist +++ b/Info.plist.in @@ -16,6 +16,10 @@ Nano.icns CFBundleIdentifier org.nano.nano_wallet + CFBundleShortVersionString + @CPACK_PACKAGE_VERSION_MAJOR@.@CPACK_PACKAGE_VERSION_MINOR@.@CPACK_PACKAGE_VERSION_PATCH@ + CFBundleVersion + @CPACK_PACKAGE_VERSION_MAJOR@.@CPACK_PACKAGE_VERSION_MINOR@.@CPACK_PACKAGE_VERSION_PATCH@ NSRequiresAquaSystemAppearance