diff --git a/contrib/make_osx b/contrib/make_osx index 3ffe87993..7d3d19238 100755 --- a/contrib/make_osx +++ b/contrib/make_osx @@ -2,5 +2,5 @@ rm -rf dist export PYTHONHASHSEED=22 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 diff --git a/contrib/osx.spec b/contrib/osx.spec index 985ae29bc..81f98bb74 100644 --- a/contrib/osx.spec +++ b/contrib/osx.spec @@ -4,7 +4,7 @@ from PyInstaller.utils.hooks import collect_data_files, collect_submodules import sys for i, x in enumerate(sys.argv): - if x == '--version': + if x == '--name': VERSION = sys.argv[i+1] break else: