diff options
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js index 301c622..b8a9f97 100644 --- a/src/index.js +++ b/src/index.js @@ -79,8 +79,12 @@ function start() { process.exit(0) } }); + ipcMain.on("minimize", () => {win.minimize()}); ipcMain.on("relaunch", () => {app.relaunch(); app.exit()}); + ipcMain.on("kill-game", () => { + kill.game(); + }); // passthrough to renderer from main ipcMain.on("win-log", (event, ...args) => {send("log", ...args)}); |