Merge branch 'electron-upgrade'

This commit is contained in:
Eugene Pankov
2021-12-22 10:06:51 +01:00
7 changed files with 46 additions and 46 deletions

View File

@@ -88,7 +88,6 @@ export class Application {
app.commandLine.appendSwitch('disable-http-cache')
app.commandLine.appendSwitch('max-active-webgl-contexts', '9000')
app.commandLine.appendSwitch('lang', 'EN')
app.allowRendererProcessReuse = false
for (const flag of this.configStore.flags || [['force_discrete_gpu', '0']]) {
app.commandLine.appendSwitch(flag[0], flag[1])