This commit is contained in:
Core 2022-06-14 12:40:49 +01:00
parent f9becc61ae
commit c8c437449e
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6
5 changed files with 78 additions and 17 deletions

View file

@ -43,6 +43,13 @@ export class utils {
return app;
}
/**
* Get the IPCMain
*/
static getIPCMain(): Electron.IpcMain {
return ipcMain
}
/**
* Fetches the i18n locale for the given language.
* @param language {string} The language to fetch the locale for.