aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
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", () => {