diff options
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js index 95115b4..fa2a35f 100644 --- a/src/index.js +++ b/src/index.js @@ -53,6 +53,8 @@ function start() { ipcMain.on("installedmod", (event, modname) => {win.webContents.send("installedmod", modname)}); ipcMain.on("guigetmods", (event, ...args) => {win.webContents.send("mods", utils.mods.list())}); + ipcMain.on("savesettings", (event, obj) => {utils.saveSettings(obj)}) + win.webContents.on("dom-ready", () => { win.webContents.send("mods", utils.mods.list()); }); |