allow disabling GPU on other platforms

This commit is contained in:
Eugene Pankov
2022-01-14 00:25:40 +01:00
parent a639d65ed6
commit 08a564588c

View File

@@ -70,10 +70,10 @@ export class Application {
app.commandLine.appendSwitch('enable-transparent-visuals')
app.disableHardwareAcceleration()
}
if (this.configStore.hacks?.disableGPU) {
app.commandLine.appendSwitch('disable-gpu')
app.disableHardwareAcceleration()
}
}
if (this.configStore.hacks?.disableGPU) {
app.commandLine.appendSwitch('disable-gpu')
app.disableHardwareAcceleration()
}
this.userPluginsPath = path.join(