summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/pyinst/app.spec12
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)