1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-24 11:02:47 +03:00

fixed #388 - option.transparent not required anymore

This commit is contained in:
Eugene Pankov 2018-08-18 19:51:52 +02:00
parent 81579fa9cc
commit a7bee5dd01

View File

@ -233,8 +233,6 @@ start = () => {
minWidth: 400,
minHeight: 300,
webPreferences: {webSecurity: false},
//- background to avoid the flash of unstyled window
backgroundColor: '#131d27',
frame: false,
show: false,
}
@ -248,9 +246,8 @@ start = () => {
}
}
if (['darwin', 'win32'].includes(process.platform)) {
options.transparent = true
delete options.backgroundColor
if (process.platform == 'linux') {
options.backgroundColor = '#131d27'
}
app.commandLine.appendSwitch('disable-http-cache')