diff options
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js index 333b1c9..1dce746 100644 --- a/src/index.js +++ b/src/index.js @@ -32,6 +32,7 @@ function start() { win.loadFile(__dirname + "/app/index.html"); ipcMain.on("exit", () => {process.exit(0)}) + ipcMain.on("minimize", () => {win.minimize()}) ipcMain.on("winLog", (event, ...args) => {win.webContents.send("log", ...args)}); ipcMain.on("winAlert", (event, ...args) => {win.webContents.send("alert", ...args)}); ipcMain.on("ns-update-event", (event) => win.webContents.send("ns-update-event", event)); |