From 2e84788d53cfe3641ee0f55bb2b076b3d4c76b8c Mon Sep 17 00:00:00 2001 From: lyswhut Date: Fri, 3 Apr 2020 21:19:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=AA=97=E5=8F=A3=E8=BF=98?= =?UTF-8?q?=E5=8E=9F=E6=97=B6=E9=97=AA=E7=83=81=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/index.js b/src/main/index.js index 177d58d3..c8043b72 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -30,6 +30,8 @@ app.on('web-contents-created', (event, contents) => { }) }) +// https://github.com/electron/electron/issues/22691 +app.commandLine.appendSwitch('wm-window-animations-disabled') // https://github.com/electron/electron/issues/18397 app.allowRendererProcessReuse = !isDev