1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-23 05:03:36 +03:00

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
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

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(