一、问题描述: electron中使用win.hide()再使用win.show()会引起窗口闪烁问题 二、解决方案: app.commandLine.appendSwitch('wm-window-animations-disabled');