aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-01-08 01:49:05 +0100
committerGitHub <noreply@github.com>2022-01-08 01:49:05 +0100
commit1702ef7c8db22a69320b04cc17af04113896cf7e (patch)
treed3773acfc9b5cbb8861a278cddd366ad95804e45 /src/index.js
parenta898d6866a912abceb78832bc1b3fe2ff56d1335 (diff)
parent31bd305d88409e70d3fabc41026fef572099163e (diff)
downloadViper-1702ef7c8db22a69320b04cc17af04113896cf7e.tar.gz
Viper-1702ef7c8db22a69320b04cc17af04113896cf7e.zip
Merge branch 'main' into mod-support
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
index 1a9f660..c03326c 100644
--- a/src/index.js
+++ b/src/index.js
@@ -85,6 +85,8 @@ ipcMain.on("newpath", (event, newpath) => {
win.show();
}
}
+}); ipcMain.on("wrongpath", (event) => {
+ win.webContents.send("wrongpath");
});
ipcMain.on("getversion", () => {