aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/main.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/main.js b/src/app/main.js
index a5c0a37..1678b86 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -164,6 +164,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);