mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-25 18:30:18 -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": {
|
"customFlags": {
|
||||||
"authServerWhitelist": "",
|
"authServerWhitelist": "",
|
||||||
"authNegotiateDelegateWhitelist": "",
|
"authNegotiateDelegateWhitelist": "",
|
||||||
"disableGpu": false,
|
"disableGpu": false
|
||||||
"disableGpuCompositing": false,
|
|
||||||
"disableD3d11": 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
|
// to disable gpu which fixes the black screen issue observed on
|
||||||
// multiple monitors
|
// multiple monitors
|
||||||
if (config.customFlags.disableGpu) {
|
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);
|
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);
|
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);
|
app.commandLine.appendSwitch("disable-d3d11", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user