diff --git a/src/splash/splashScreen.js.self b/src/splash/_splashScreen.rewrite.js similarity index 91% rename from src/splash/splashScreen.js.self rename to src/splash/_splashScreen.rewrite.js index d76e875..b34be29 100644 --- a/src/splash/splashScreen.js.self +++ b/src/splash/_splashScreen.rewrite.js @@ -7,7 +7,7 @@ const ipcMain = require('../ipcMain'); const LOADING_WINDOW_WIDTH = 300; -const LOADING_WINDOW_HEIGHT = process.platform === 'darwin' ? 300 : 350; // TODO: addModulesListener events should use Module's constants +const LOADING_WINDOW_HEIGHT = process.platform === 'darwin' ? 300 : 350; let window; @@ -53,12 +53,6 @@ exports.initSplash = (startMinimized = false) => { // Make splash window events.emit(APP_SHOULD_LAUNCH); }); - if (!startMinimized && window) window.show(); - - // Update and stuff - - events.emit(APP_SHOULD_LAUNCH); - ipcMain.on('SPLASH_SCREEN_QUIT', () => { app.quit(); });