aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2021-12-29 00:39:52 +0100
committer0neGal <mail@0negal.com>2021-12-29 00:39:52 +0100
commitaefef2040280ae9e4292c39df65f2b378128aa07 (patch)
tree61dacc098255a7d102236bbd4d13b952fa91e573 /src/index.js
parent8b90dc59f005ccb394f3392a80dcc28cc0ac73e7 (diff)
downloadViper-aefef2040280ae9e4292c39df65f2b378128aa07.tar.gz
Viper-aefef2040280ae9e4292c39df65f2b378128aa07.zip
uses navigator.language to determine language
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 4e64414..fead15b 100644
--- a/src/index.js
+++ b/src/index.js
@@ -33,6 +33,7 @@ function start() {
}
ipcMain.on("launch", (event) => {utils.launch()})
+ipcMain.on("setlang", (event, lang) => {utils.setlang(lang)})
ipcMain.on("launchVanilla", (event) => {utils.launch("vanilla")})
ipcMain.on("update", (event) => {utils.update()})