From a7bee5dd0115c8214bdc5dd82574be8141e43c1b Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Sat, 18 Aug 2018 19:51:52 +0200 Subject: [PATCH] fixed #388 - option.transparent not required anymore --- app/main.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/main.js b/app/main.js index 9e1b1ef1..8c8bd48a 100644 --- a/app/main.js +++ b/app/main.js @@ -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')