aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-08-17 18:25:52 +0200
committer0neGal <mail@0negal.com>2022-08-17 18:25:52 +0200
commit1da94c96948511b3b69f82b502265735c0c005e4 (patch)
treec4dd8d040a5e86cc18fbee4cc31c513f5f8666ac /src/index.js
parent19e3f0d2d44087036712dccf1b2b0b81b9df759a (diff)
parent5106d9ed409a3cc91a7755f961fab1bf91d8b7fb (diff)
downloadViper-1da94c96948511b3b69f82b502265735c0c005e4.tar.gz
Viper-1da94c96948511b3b69f82b502265735c0c005e4.zip
Merge branch 'main' of https://github.com/0neGal/viper
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
index 148e30a..e01a635 100644
--- a/src/index.js
+++ b/src/index.js
@@ -71,6 +71,7 @@ function start() {
ipcMain.on("removed-mod", (event, modname) => {send("removed-mod", modname)});
ipcMain.on("gui-getmods", (event, ...args) => {send("mods", utils.mods.list())});
ipcMain.on("installed-mod", (event, modname) => {send("installed-mod", modname)});
+ ipcMain.on("no-internet", () => {send("no-internet")});
// install calls
ipcMain.on("install-from-path", (event, path) => {utils.mods.install(path)});