Update the user agent for debug log requests

This commit is contained in:
Scott Nonnenberg 2018-07-18 20:00:10 -07:00
parent c517e4193b
commit b159a8d7c7
4 changed files with 14 additions and 22 deletions

View file

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