Open separate windows with theme, update settings theme on change
This commit is contained in:
parent
d014fa779e
commit
d8e5e5fcf2
10 changed files with 38 additions and 14 deletions
|
@ -6,6 +6,7 @@ const config = url.parse(window.location.toString(), true).query;
|
|||
const { locale } = config;
|
||||
const localeMessages = ipcRenderer.sendSync('locale-data');
|
||||
|
||||
window.theme = config.theme;
|
||||
window.i18n = i18n.setup(locale, localeMessages);
|
||||
|
||||
require('./js/logging');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue