mirror of
https://github.com/Eugeny/tabby.git
synced 2025-08-16 22:31:51 +00:00
allow disabling GPU on other platforms
This commit is contained in:
@@ -70,10 +70,10 @@ export class Application {
|
|||||||
app.commandLine.appendSwitch('enable-transparent-visuals')
|
app.commandLine.appendSwitch('enable-transparent-visuals')
|
||||||
app.disableHardwareAcceleration()
|
app.disableHardwareAcceleration()
|
||||||
}
|
}
|
||||||
if (this.configStore.hacks?.disableGPU) {
|
}
|
||||||
app.commandLine.appendSwitch('disable-gpu')
|
if (this.configStore.hacks?.disableGPU) {
|
||||||
app.disableHardwareAcceleration()
|
app.commandLine.appendSwitch('disable-gpu')
|
||||||
}
|
app.disableHardwareAcceleration()
|
||||||
}
|
}
|
||||||
|
|
||||||
this.userPluginsPath = path.join(
|
this.userPluginsPath = path.join(
|
||||||
|
Reference in New Issue
Block a user