From 308ee123056f28fcbd8085532e2df323adb833c5 Mon Sep 17 00:00:00 2001 From: gsx <530353222@qq.com> Date: Mon, 23 May 2022 12:33:56 +0800 Subject: [PATCH] =?UTF-8?q?config=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron/config/config.default.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/electron/config/config.default.js b/electron/config/config.default.js index d8dd065..8a15a4d 100644 --- a/electron/config/config.default.js +++ b/electron/config/config.default.js @@ -41,7 +41,10 @@ module.exports = (appInfo) => { */ config.openAppMenu = 'dev-show'; - /* 主窗口 */ + /** + * 主窗口 + * show {boolean} true:立即显示窗口,短暂白屏;false:延迟显示窗口,无白屏 + */ config.windowsOption = { width: 980, height: 650, @@ -53,7 +56,7 @@ module.exports = (appInfo) => { nodeIntegration: true, }, frame: true, - show: false, + show: true, //backgroundColor: '#000000' //titleBarStyle: 'hidden' };