summaryrefslogtreecommitdiff
path: root/pkg/pyinst
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/pyinst')
-rw-r--r--pkg/pyinst/anonvpn.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/pkg/pyinst/anonvpn.spec b/pkg/pyinst/anonvpn.spec
index 98624dd4..ec61f04e 100644
--- a/pkg/pyinst/anonvpn.spec
+++ b/pkg/pyinst/anonvpn.spec
@@ -25,6 +25,7 @@ hiddenimports = [
VENV = os.environ.get('VIRTUAL_ENV', '')
ENTRYPOINT = ['../../src/leap/bitmask/gui/anonvpn.py']
+excludes = ['PyQt5', 'pysqlcipher', 'scrypt', 'leap.soledad', 'IPython']
a = Analysis(ENTRYPOINT,
binaries=None,
@@ -32,8 +33,7 @@ a = Analysis(ENTRYPOINT,
hiddenimports=hiddenimports,
hookspath=[],
runtime_hooks=[],
- excludes=[],
-
+ excludes=excludes,
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher)
@@ -55,3 +55,12 @@ coll = COLLECT(exe,
strip=False,
upx=True,
name='anonvpn')
+if IS_MAC:
+ app = BUNDLE(
+ coll,
+ name=os.path.join(
+ 'dist', 'RiseupVPN.app'),
+ appname='RiseupVPN',
+ version=BITMASK_VERSION,
+ icon='pkg/branding/riseupvpn.icns',
+ bundle_identifier='RiseupVPN-' + BITMASK_VERSION)