diff options
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/main.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/main.js b/src/app/main.js index aa2ba68..00d3551 100644 --- a/src/app/main.js +++ b/src/app/main.js @@ -84,6 +84,11 @@ ipcRenderer.on("nopathselected", () => { exit(); }); +ipcRenderer.on("wrongpath", () => { + alert(lang("gui.gamepath.wrong")); + setpath(false); +}); + setlang(); setInterval(() => { ipcRenderer.send("setsize", document.querySelector(".lines").offsetHeight + 20); |