mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-08 21:40:03 +00:00
fixed #388 - option.transparent not required anymore
This commit is contained in:
parent
81579fa9cc
commit
a7bee5dd01
@ -233,8 +233,6 @@ start = () => {
|
|||||||
minWidth: 400,
|
minWidth: 400,
|
||||||
minHeight: 300,
|
minHeight: 300,
|
||||||
webPreferences: {webSecurity: false},
|
webPreferences: {webSecurity: false},
|
||||||
//- background to avoid the flash of unstyled window
|
|
||||||
backgroundColor: '#131d27',
|
|
||||||
frame: false,
|
frame: false,
|
||||||
show: false,
|
show: false,
|
||||||
}
|
}
|
||||||
@ -248,9 +246,8 @@ start = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (['darwin', 'win32'].includes(process.platform)) {
|
if (process.platform == 'linux') {
|
||||||
options.transparent = true
|
options.backgroundColor = '#131d27'
|
||||||
delete options.backgroundColor
|
|
||||||
}
|
}
|
||||||
|
|
||||||
app.commandLine.appendSwitch('disable-http-cache')
|
app.commandLine.appendSwitch('disable-http-cache')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user