diff --git a/src/splash/index.js b/src/splash/index.js index 418492c..2a5ad6a 100644 --- a/src/splash/index.js +++ b/src/splash/index.js @@ -72,7 +72,7 @@ const launchSplash = (startMin) => { if (process.platform !== 'darwin') win.on('closed', () => !launchedMainWindow && app.quit()); - if (!startMin) win.once('ready-to-show', () => win.show()); + if (!startMin) win.once('ready-to-show', win.show); };