From ef7fa690f548926146562e3ec64d4eac02735a7e Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Thu, 14 Apr 2016 12:04:05 -0700 Subject: [PATCH] Add correct version number to OSX app Info.plist (fixes #275) --- install/pyinstaller.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install/pyinstaller.spec b/install/pyinstaller.spec index f7337748..817c22c2 100644 --- a/install/pyinstaller.spec +++ b/install/pyinstaller.spec @@ -3,6 +3,8 @@ import platform system = platform.system() +version = open('resources/version.txt').read().strip() + block_cipher = None a = Analysis( @@ -54,6 +56,7 @@ if system == 'Darwin': icon='install/onionshare.icns', bundle_identifier='com.micahflee.onionshare', info_plist={ + 'CFBundleShortVersionString': version, 'NSHighResolutionCapable': 'True' } )