diff options
author | 0neGal <mail@0negal.com> | 2022-01-08 01:49:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-08 01:49:05 +0100 |
commit | 1702ef7c8db22a69320b04cc17af04113896cf7e (patch) | |
tree | d3773acfc9b5cbb8861a278cddd366ad95804e45 /src/app | |
parent | a898d6866a912abceb78832bc1b3fe2ff56d1335 (diff) | |
parent | 31bd305d88409e70d3fabc41026fef572099163e (diff) | |
download | Viper-1702ef7c8db22a69320b04cc17af04113896cf7e.tar.gz Viper-1702ef7c8db22a69320b04cc17af04113896cf7e.zip |
Merge branch 'main' into mod-support
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 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); |