From 5b56fd5884df224317d36dce650ca8b3350e483f Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Tue, 13 Jun 2017 14:56:23 +0200 Subject: [pkg] add icons to osx app --- pkg/pyinst/app.spec | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'pkg') diff --git a/pkg/pyinst/app.spec b/pkg/pyinst/app.spec index 5a7c3df..6adbf5d 100644 --- a/pkg/pyinst/app.spec +++ b/pkg/pyinst/app.spec @@ -3,6 +3,8 @@ import platform block_cipher = None +BITMASK_VERSION = open('pkg/next-version').read() + hiddenimports = [ 'appdirs', 'scrypt', 'zope.interface', 'zope.proxy', @@ -71,3 +73,13 @@ coll = COLLECT(exe, strip=False, upx=True, name='bitmask') + +if sys.platform.startswith('darwin'): + app = BUNDLE( + coll, + name=os.path.join( + 'dist', 'Bitmask.app'), + appname='Bitmask', + version=BITMASK_VERSION, + icon='../osx/bitmask.icns', + bundle_identifier='bitmask-' + BITMASK_VERSION) -- cgit v1.2.3