Skip to content

Commit

Permalink
Add version info to Info.plist (#1631)
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptocode authored Jan 28, 2019
1 parent f492cfc commit 9106483
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 4 additions & 0 deletions Info.plist → Info.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
<string>Nano.icns</string>
<key>CFBundleIdentifier</key>
<string>org.nano.nano_wallet</string>
<key>CFBundleShortVersionString</key>
<string>@CPACK_PACKAGE_VERSION_MAJOR@.@CPACK_PACKAGE_VERSION_MINOR@.@CPACK_PACKAGE_VERSION_PATCH@</string>
<key>CFBundleVersion</key>
<string>@CPACK_PACKAGE_VERSION_MAJOR@.@CPACK_PACKAGE_VERSION_MINOR@.@CPACK_PACKAGE_VERSION_PATCH@</string>
<key>NSRequiresAquaSystemAppearance</key>
<true/>
</dict>
Expand Down

0 comments on commit 9106483

Please sign in to comment.