Get native theme through IPC not remote

This commit is contained in:
Fedor Indutny
2021-06-30 11:57:43 -07:00
committed by GitHub
parent d2cc8e5aa9
commit 71572db7a9
16 changed files with 227 additions and 60 deletions

View File

@@ -15,7 +15,7 @@ const {
const { Context: SignalContext } = require('./ts/context');
window.SignalContext = new SignalContext();
window.SignalContext = new SignalContext(ipcRenderer);
const config = url.parse(window.location.toString(), true).query;
const { locale } = config;