diff options
Diffstat (limited to 'src/modules/launch.js')
-rw-r--r-- | src/modules/launch.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/launch.js b/src/modules/launch.js index bb094e9..e9ad1a3 100644 --- a/src/modules/launch.js +++ b/src/modules/launch.js @@ -1,4 +1,5 @@ const exec = require("child_process").exec; +const ipcMain = require("electron").ipcMain; const cli = require("../cli"); const lang = require("../lang"); @@ -8,6 +9,11 @@ const settings = require("./settings"); console = require("./console"); +ipcMain.on("launch-ns", launch); +ipcMain.on("launch-vanilla", () => { + launch("vanilla"); +}) + // launches the game // // either Northstar or Vanilla. Linux support is not currently a thing, |