Browse Source

fix previous commit

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

2
contrib/make_osx

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

2
contrib/osx.spec

@ -4,7 +4,7 @@ from PyInstaller.utils.hooks import collect_data_files, collect_submodules
import sys import sys
for i, x in enumerate(sys.argv): for i, x in enumerate(sys.argv):
if x == '--version': if x == '--name':
VERSION = sys.argv[i+1] VERSION = sys.argv[i+1]
break break
else: else:

Loading…
Cancel
Save