Browse Source

osx: parameters for Info.plist

3.0.x
ThomasV 7 years ago
parent
commit
db8febea15
  1. 3
      contrib/make_osx
  2. 15
      contrib/osx.spec

3
contrib/make_osx

@ -2,6 +2,5 @@
rm -rf dist
export PYTHONHASHSEED=22
VERSION=`git describe --tags`
pyinstaller --noconfirm --ascii contrib/osx.spec
pyinstaller --noconfirm --ascii contrib/osx.spec --version VERSION
hdiutil create -fs HFS+ -volname "Electrum" -srcfolder dist/Electrum.app dist/electrum-$VERSION.dmg

15
contrib/osx.spec

@ -2,6 +2,14 @@
from PyInstaller.utils.hooks import collect_data_files, collect_submodules
import sys
for i, x in enumerate(sys.argv):
if x == '--version':
VERSION = sys.argv[i+1]
break
else:
raise BaseException('no version')
home = '/Users/voegtlin/electrum/'
block_cipher=None
@ -63,7 +71,12 @@ exe = EXE(pyz,
console=False)
app = BUNDLE(exe,
version = VERSION,
name='Electrum.app',
icon=home+'electrum.icns',
bundle_identifier=None)
bundle_identifier=None,
info_plist = {
'NSHighResolutionCapable':'True'
}
)

Loading…
Cancel
Save