commit c6a31dac18cd7a4bba4f233a3f8d6fd0581d7ef6
parent f823764dc35adfbcb80399236314ff59a6f05acb
Author: Maran <maran.hidskes@gmail.com>
Date: Tue, 18 Jun 2013 00:00:55 +0200
Added support for Bitcoin URIs on OS X. Implements #209
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git 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':