mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-28 15:29:58 +00:00
allow disabling GPU on other platforms
This commit is contained in:
parent
a639d65ed6
commit
08a564588c
@ -70,11 +70,11 @@ export class Application {
|
|||||||
app.commandLine.appendSwitch('enable-transparent-visuals')
|
app.commandLine.appendSwitch('enable-transparent-visuals')
|
||||||
app.disableHardwareAcceleration()
|
app.disableHardwareAcceleration()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (this.configStore.hacks?.disableGPU) {
|
if (this.configStore.hacks?.disableGPU) {
|
||||||
app.commandLine.appendSwitch('disable-gpu')
|
app.commandLine.appendSwitch('disable-gpu')
|
||||||
app.disableHardwareAcceleration()
|
app.disableHardwareAcceleration()
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
this.userPluginsPath = path.join(
|
this.userPluginsPath = path.join(
|
||||||
app.getPath('userData'),
|
app.getPath('userData'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user