Add correct version number to OSX app Info.plist (fixes #275)

This commit is contained in:
Micah Lee 2016-04-14 12:04:05 -07:00
parent 83da767acc
commit ef7fa690f5

View file

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