diff options
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index 9fe7610..6095803 100644 --- a/src/index.js +++ b/src/index.js @@ -27,8 +27,11 @@ function start() { ipcMain.on("setpath", (event) => {utils.setpath(win)}) } -ipcMain.on("setpathcli", (event) => {utils.setpath()}) +ipcMain.on("launch", (event) => {utils.launch()}) +ipcMain.on("launchVanilla", (event) => {utils.launch("vanilla")}) + ipcMain.on("update", (event) => {utils.update()}) +ipcMain.on("setpathcli", (event) => {utils.setpath()}) process.chdir(app.getPath("appData")); |