Fix permissions popup; add needed function on window (#2554)
This commit is contained in:
@@ -8,6 +8,7 @@ const config = url.parse(window.location.toString(), true).query;
|
||||
const { locale } = config;
|
||||
const localeMessages = ipcRenderer.sendSync('locale-data');
|
||||
|
||||
window.getVersion = () => config.version;
|
||||
window.theme = config.theme;
|
||||
window.i18n = i18n.setup(locale, localeMessages);
|
||||
|
||||
|
Reference in New Issue
Block a user