Update app.ts

This commit is contained in:
Eugene Pankov 2020-02-05 14:54:10 +03:00
parent 4a50c84cfe
commit 04d4474648

View File

@ -23,6 +23,7 @@ export class Application {
app.commandLine.appendSwitch('disable-http-cache')
app.commandLine.appendSwitch('lang', 'EN')
app.allowRendererProcessReuse = false
for (const flag of configData.flags || [['force_discrete_gpu', '0']]) {
app.commandLine.appendSwitch(flag[0], flag[1])