add comment

This commit is contained in:
Sean Yesmunt 2019-11-18 14:42:29 -05:00
parent 8cb4208282
commit 03acee9ed2

View file

@ -131,6 +131,7 @@ export default appState => {
startMinimized ? window.hide() : window.show(); startMinimized ? window.hide() : window.show();
}); });
// A backup incase https://github.com/electron/electron/issues/7779 happens
window.webContents.once('dom-ready', () => { window.webContents.once('dom-ready', () => {
startMinimized && window.hide() startMinimized && window.hide()
}) })