pull/110/head v1.0.169
openbuilds-engineer 2019-05-17 14:10:25 +02:00
rodzic 6e5361264d
commit 2bc7a0b5dc
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -62,7 +62,8 @@ if (isElectron()) {
electronApp.commandLine.appendSwitch('enable-zero-copy', 'true')
electronApp.commandLine.appendSwitch('disable-software-rasterizer', 'true')
electronApp.commandLine.appendSwitch('enable-native-gpu-memory-buffers', 'true')
electronApp.commandLine.appendSwitch('js-flags', '--max-old-space-size=8192')
// Removing max-old-space-size switch (Introduced in 1.0.168 and removed in 1.0.169) due it causing High CPU load on some PCs.
//electronApp.commandLine.appendSwitch('js-flags', '--max-old-space-size=8192')
console.log('Command Line Arguments for Electron: Set OK')
}
const BrowserWindow = electron.BrowserWindow;