aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-08-09 08:44:30 +0200
committerGitHub <noreply@github.com>2022-08-09 08:44:30 +0200
commit5106d9ed409a3cc91a7755f961fab1bf91d8b7fb (patch)
treedb6ac0c318b5a4c28d70be210ae29bf9730e11ac /src/index.js
parentd124f8165f2fa690269c28770b35103eb2791a70 (diff)
parent7d84141d4cf91b02d5219a3e0f34b55e9d9f6247 (diff)
downloadViper-5106d9ed409a3cc91a7755f961fab1bf91d8b7fb.tar.gz
Viper-5106d9ed409a3cc91a7755f961fab1bf91d8b7fb.zip
Merge pull request #145 from Alystrasz/feat/no-internet-handling
feat: No internet handling
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)});