mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-11 04:02:40 -03:00
Add correct version number to OSX app Info.plist (fixes #275)
This commit is contained in:
parent
83da767acc
commit
ef7fa690f5
1 changed files with 3 additions and 0 deletions
|
@ -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'
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue