diff options
| author | Lex Neva <github.com@lexneva.name> | 2019-11-11 17:59:51 -0500 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2020-01-29 01:29:49 -0500 |
| commit | c08d838ade3dbb374750eedcd7c57836e332f05b (patch) | |
| tree | eb8ead275c75de547917c1e6a641c99486f3b77e /lib/gui | |
| parent | 31148ff3a5ed5b957192a00cc7b7272f31b115b9 (diff) | |
mac: wait for electron window to close
Diffstat (limited to 'lib/gui')
| -rw-r--r-- | lib/gui/electron.py | 3 |
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: |
