diff options
author | 0neGal <mail@0negal.com> | 2021-12-27 02:13:32 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2021-12-27 02:13:32 +0100 |
commit | 9d438e3f8f543a93a916f0573c0ea24dbaf4a395 (patch) | |
tree | 58b5544ac81f13f070462458342a78239b38ec04 /src/index.js | |
parent | 6ac8259ec96db1ac0e770dd42b4f21c2eabd5c63 (diff) | |
download | Viper-9d438e3f8f543a93a916f0573c0ea24dbaf4a395.tar.gz Viper-9d438e3f8f543a93a916f0573c0ea24dbaf4a395.zip |
this might add launch options? maybe?
I haven't tested this on Windows... And I will in a bit...
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")); |