1
0
mirror of https://github.com/Eugeny/tabby.git synced 2025-06-23 21:09:52 +00:00

disable sandboxing on linux (fixes again)

This commit is contained in:
Eugene Pankov 2019-12-29 19:07:32 +01:00
parent 9453e8ba7b
commit 98103fd139

@ -13,9 +13,12 @@ export class Application {
}) })
const configData = loadConfig() const configData = loadConfig()
if (process.platform === 'linux' && ((configData.appearance || {}).opacity || 1) !== 1) { if (process.platform === 'linux') {
app.commandLine.appendSwitch('enable-transparent-visuals') app.commandLine.appendSwitch('no-sandbox')
app.disableHardwareAcceleration() if (((configData.appearance || {}).opacity || 1) !== 1) {
app.commandLine.appendSwitch('enable-transparent-visuals')
app.disableHardwareAcceleration()
}
} }
app.commandLine.appendSwitch('disable-http-cache') app.commandLine.appendSwitch('disable-http-cache')