Remove unwanted getLang handlers

This commit is contained in:
smartfrigde 2022-06-14 14:53:26 +02:00
parent 7f53710d6a
commit bdb09bb912
1 changed files with 0 additions and 6 deletions

View File

@ -14,9 +14,6 @@ export function registerIpc() {
ipcMain.on("setLang", (event, lang: string) => {
setLang(lang);
});
ipcMain.on("getLang", (event, object: string) => {
getLang(object);
});
ipcMain.on("open-external-link", (event, href: string) => {
shell.openExternal(href);
});
@ -60,9 +57,6 @@ export function registerIpc() {
ipcMain.on("channel", async (event) => {
event.returnValue = await getConfig("channel");
});
ipcMain.handle("getLang", (event, toGet: string) => {
return getLang(toGet);
});
ipcMain.on("clientmod", async (event, arg) => {
event.returnValue = await getConfig("mods");
});