diff options
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js index 3f50840..4849b72 100644 --- a/src/index.js +++ b/src/index.js @@ -47,6 +47,7 @@ function start() { ipcMain.on("winAlert", (event, ...args) => {win.webContents.send("alert", ...args)}); ipcMain.on("ns-update-event", (event) => win.webContents.send("ns-update-event", event)); ipcMain.on("guigetmods", (event, ...args) => {win.webContents.send("mods", utils.mods.list())}); + ipcMain.on("installfromurl", (event, url) => {utils.mods.installFromURL(url)}) win.webContents.on("dom-ready", () => { win.webContents.send("mods", utils.mods.list()); |