aboutsummaryrefslogtreecommitdiff
path: root/src/app/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/main.js')
-rw-r--r--src/app/main.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/main.js b/src/app/main.js
index 9783459..404e762 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -19,6 +19,9 @@ if (fs.existsSync(settings.file)) {
function update() {ipcRenderer.send("update")}
function setpath() {ipcRenderer.send("setpath")}
+function launch() {ipcRenderer.send("launch")}
+function launchVanilla() {ipcRenderer.send("launchVanilla")}
+
ipcRenderer.on("newpath", (event, newpath) => {
settings.gamepath = newpath;
})