mirror of
https://github.com/Eugeny/tabby.git
synced 2024-09-20 09:27:16 +03:00
disable sandboxing on linux (fixes #960 again)
This commit is contained in:
parent
9453e8ba7b
commit
98103fd139
@ -13,9 +13,12 @@ export class Application {
|
||||
})
|
||||
|
||||
const configData = loadConfig()
|
||||
if (process.platform === 'linux' && ((configData.appearance || {}).opacity || 1) !== 1) {
|
||||
app.commandLine.appendSwitch('enable-transparent-visuals')
|
||||
app.disableHardwareAcceleration()
|
||||
if (process.platform === 'linux') {
|
||||
app.commandLine.appendSwitch('no-sandbox')
|
||||
if (((configData.appearance || {}).opacity || 1) !== 1) {
|
||||
app.commandLine.appendSwitch('enable-transparent-visuals')
|
||||
app.disableHardwareAcceleration()
|
||||
}
|
||||
}
|
||||
|
||||
app.commandLine.appendSwitch('disable-http-cache')
|
||||
|
Loading…
Reference in New Issue
Block a user