diff options
author | Kali Kaneko <kali@leap.se> | 2016-04-06 15:39:55 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-04-06 17:30:25 -0400 |
commit | bb0dd2d30c7408cf3a50bafd8085aa69ca02e4f2 (patch) | |
tree | f8222805651996964883413c9e5c241fd9d192f8 | |
parent | c35d9f6338300dcf6f1688ee2df9475dd14b8c94 (diff) |
[pkg] add standalone flag if running inside a frozen bin
-rw-r--r-- | src/leap/bitmask/app.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/bitmask/app.py b/src/leap/bitmask/app.py index dc1ee6df..0c4c32e2 100644 --- a/src/leap/bitmask/app.py +++ b/src/leap/bitmask/app.py @@ -163,6 +163,9 @@ def start_app(): } flags.STANDALONE = opts.standalone + if getattr(sys, 'frozen', False): + flags.STANDALONE = True + flags.OFFLINE = opts.offline flags.MAIL_LOGFILE = opts.mail_log_file flags.APP_VERSION_CHECK = opts.app_version_check |