mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-21 16:38:41 -06:00
ELECTRON-261: removed extra attributes
removed extra attributes in the config file as per PR suggestion.
This commit is contained in:
parent
bbc2228365
commit
3c4ae0615e
@ -17,8 +17,6 @@
|
||||
"customFlags": {
|
||||
"authServerWhitelist": "",
|
||||
"authNegotiateDelegateWhitelist": "",
|
||||
"disableGpu": false,
|
||||
"disableGpuCompositing": false,
|
||||
"disableD3d11": false
|
||||
"disableGpu": false
|
||||
}
|
||||
}
|
||||
|
10
js/main.js
10
js/main.js
@ -138,17 +138,9 @@ function setChromeFlags() {
|
||||
// to disable gpu which fixes the black screen issue observed on
|
||||
// multiple monitors
|
||||
if (config.customFlags.disableGpu) {
|
||||
log.send(logLevels.INFO, 'Setting disable gpu flag');
|
||||
log.send(logLevels.INFO, 'Setting disable gpu, gpu compositing and d3d11 flags to true');
|
||||
app.commandLine.appendSwitch("disable-gpu", true);
|
||||
}
|
||||
|
||||
if (config.customFlags.disableGpuCompositing) {
|
||||
log.send(logLevels.INFO, 'Setting disable gpu compositing flag');
|
||||
app.commandLine.appendSwitch("disable-gpu-compositing", true);
|
||||
}
|
||||
|
||||
if (config.customFlags.disableD3d11) {
|
||||
log.send(logLevels.INFO, 'Setting disable d3d11 flag');
|
||||
app.commandLine.appendSwitch("disable-d3d11", true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user