mac: wait for electron window to close

pull/573/head
Lex Neva 2019-11-11 17:59:51 -05:00
rodzic 31148ff3a5
commit c08d838ade
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -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: