diff options
author | Alystrasz <contact@remyraes.com> | 2022-08-06 23:13:24 +0200 |
---|---|---|
committer | Alystrasz <contact@remyraes.com> | 2022-08-06 23:13:24 +0200 |
commit | 26034ec3475a61682a17c95cb2bffdbc9e52af54 (patch) | |
tree | 5c7553bc99f429f4ea9878c997c5b724f4bae492 /src/index.js | |
parent | 64fb444ad72bdba342a7345644a5b55d94c7f696 (diff) | |
download | Viper-26034ec3475a61682a17c95cb2bffdbc9e52af54.tar.gz Viper-26034ec3475a61682a17c95cb2bffdbc9e52af54.zip |
feat: display a toast message if no Internet at launch
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 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)}); |