mirror of
https://github.com/onionshare/onionshare.git
synced 2025-09-20 04:24:37 -04: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
|
import platform
|
||||||
system = platform.system()
|
system = platform.system()
|
||||||
|
|
||||||
|
version = open('resources/version.txt').read().strip()
|
||||||
|
|
||||||
block_cipher = None
|
block_cipher = None
|
||||||
|
|
||||||
a = Analysis(
|
a = Analysis(
|
||||||
|
@ -54,6 +56,7 @@ if system == 'Darwin':
|
||||||
icon='install/onionshare.icns',
|
icon='install/onionshare.icns',
|
||||||
bundle_identifier='com.micahflee.onionshare',
|
bundle_identifier='com.micahflee.onionshare',
|
||||||
info_plist={
|
info_plist={
|
||||||
|
'CFBundleShortVersionString': version,
|
||||||
'NSHighResolutionCapable': 'True'
|
'NSHighResolutionCapable': 'True'
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue