summaryrefslogtreecommitdiff
path: root/lib/gui/electron.py
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2019-11-11 17:59:51 -0500
committerLex Neva <github.com@lexneva.name>2020-01-29 01:29:49 -0500
commitc08d838ade3dbb374750eedcd7c57836e332f05b (patch)
treeeb8ead275c75de547917c1e6a641c99486f3b77e /lib/gui/electron.py
parent31148ff3a5ed5b957192a00cc7b7272f31b115b9 (diff)
mac: wait for electron window to close
Diffstat (limited to 'lib/gui/electron.py')
-rw-r--r--lib/gui/electron.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gui/electron.py b/lib/gui/electron.py
index 6bff15aa..83486f78 100644
--- a/lib/gui/electron.py
+++ b/lib/gui/electron.py
@@ -4,7 +4,6 @@ import sys
from ..utils import get_bundled_dir
-
app_process = None
@@ -19,7 +18,7 @@ def open_url(url):
if sys.platform == "darwin":
electron_path += ".app/Contents/MacOS/inkstitch-gui"
- command = ["open", "-a", electron_path, "--args", url]
+ command = ["open", "-W", "-a", electron_path, "--args", url]
else:
command = [electron_path, url]
else: