diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2017-06-13 14:56:23 +0200 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2017-06-13 14:56:23 +0200 |
commit | 5b56fd5884df224317d36dce650ca8b3350e483f (patch) | |
tree | 80927e680701233a6c4cdffd68b4068be1768027 /pkg/pyinst | |
parent | 9fb7b5ea0f24acfc101a58ffb28c75d949d0efb2 (diff) |
[pkg] add icons to osx app
Diffstat (limited to 'pkg/pyinst')
-rw-r--r-- | pkg/pyinst/app.spec | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/pyinst/app.spec b/pkg/pyinst/app.spec index 5a7c3df8..6adbf5d8 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) |