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' } )