summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-05-01 17:10:39 +0200
committerRuben Pollan <meskio@sindominio.net>2017-05-03 11:06:52 +0200
commit0cc95f1df0641606f0173226e6f1b9f44112f962 (patch)
tree45bb214c51b84a7f1e0c307571f93cb3d10f5416 /src/leap/bitmask/gui
parenta295b63d59275ccef839d349d6d92a2cb8ee33b7 (diff)
[bug] include bitmask_helpers into the frozen binary
The bundled version of bitmask is unable to find the bitmask_helpers binary. Let's include it as part of the frozen binary generated by pyinstaller. - Resolves: #8862
Diffstat (limited to 'src/leap/bitmask/gui')
-rw-r--r--src/leap/bitmask/gui/app.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/bitmask/gui/app.py b/src/leap/bitmask/gui/app.py
index 42e1280..57bed56 100644
--- a/src/leap/bitmask/gui/app.py
+++ b/src/leap/bitmask/gui/app.py
@@ -244,6 +244,10 @@ def start_app():
# DEBUG ====================================
if STANDALONE and len(sys.argv) > MIN_ARGS:
+ if sys.argv[1] == 'bitmask_helpers':
+ from leap.bitmask.vpn.helpers import main
+ return main()
+
from leap.bitmask.cli import bitmask_cli
return bitmask_cli.main()