[Splash] Rename splashScreen.js.self

main
Oj 2 years ago
parent b6b4edae0f
commit cdd0322bc8

@ -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();
});
Loading…
Cancel
Save