From c6a31dac18cd7a4bba4f233a3f8d6fd0581d7ef6 Mon Sep 17 00:00:00 2001 From: Maran Date: Tue, 18 Jun 2013 00:00:55 +0200 Subject: [PATCH] Added support for Bitcoin URIs on OS X. Implements #209 --- setup-release.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup-release.py b/setup-release.py index 549e86d3b..f2a6e7a30 100644 --- a/setup-release.py +++ b/setup-release.py @@ -22,6 +22,10 @@ if sys.version_info[:3] < (2,6,0): sys.exit(1) if sys.platform == 'darwin': + from plistlib import Plist + plist = Plist.fromFile('Info.plist') + plist.update(dict(CFBundleIconFile='electrum.icns')) + shutil.copy(mainscript, mainscript + '.py') mainscript += '.py' extra_options = dict( @@ -31,7 +35,7 @@ if sys.platform == 'darwin': includes = ['PyQt4.QtCore','PyQt4.QtGui', 'sip'], packages = ['lib', 'gui', 'plugins'], iconfile='electrum.icns', - plist=dict(CFBundleIconFile='electrum.icns'), + plist=plist, resources=["data", "icons"])), ) elif sys.platform == 'win32':