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.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/main.js b/src/app/main.js
index 5f0cc9a..b61b20a 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -153,6 +153,11 @@ function installmod() {
ipcRenderer.send("installmod")
}
+// Tells the main process to install a mod from a URL
+function installFromURL(url) {
+ ipcRenderer.send("installfromurl", url)
+}
+
// Frontend part of settings a new game path
ipcRenderer.on("newpath", (event, newpath) => {
settings.gamepath = newpath;