summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/leap/bitmask/gui/app.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/bitmask/gui/app.py b/src/leap/bitmask/gui/app.py
index b6e8510..fdddc89 100644
--- a/src/leap/bitmask/gui/app.py
+++ b/src/leap/bitmask/gui/app.py
@@ -26,6 +26,8 @@ import sys
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5 import QtWebKit, QtWebKitWidgets
+from bitmask.core.launcher import run_bitmaskd()
+
BITMASK_URI = 'http://localhost:7070'
qApp = None
@@ -58,6 +60,9 @@ def start_app():
global qApp
+ # TODO should do it if no pid
+ run_bitmaskd()
+
qApp = QtWidgets.QApplication([])
browser = BrowserWindow(None)