Fix permissions popup; add needed function on window (#2554)

pull/1/head
Scott Nonnenberg 6 years ago committed by GitHub
parent e23fcab7e8
commit b550cd080e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);

Loading…
Cancel
Save