[Splash] Rename splashScreen.js.self
This commit is contained in:
parent
b6b4edae0f
commit
cdd0322bc8
1 changed files with 1 additions and 7 deletions
|
@ -7,7 +7,7 @@ const ipcMain = require('../ipcMain');
|
||||||
|
|
||||||
|
|
||||||
const LOADING_WINDOW_WIDTH = 300;
|
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;
|
let window;
|
||||||
|
|
||||||
|
@ -53,12 +53,6 @@ exports.initSplash = (startMinimized = false) => { // Make splash window
|
||||||
events.emit(APP_SHOULD_LAUNCH);
|
events.emit(APP_SHOULD_LAUNCH);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!startMinimized && window) window.show();
|
|
||||||
|
|
||||||
// Update and stuff
|
|
||||||
|
|
||||||
events.emit(APP_SHOULD_LAUNCH);
|
|
||||||
|
|
||||||
ipcMain.on('SPLASH_SCREEN_QUIT', () => {
|
ipcMain.on('SPLASH_SCREEN_QUIT', () => {
|
||||||
app.quit();
|
app.quit();
|
||||||
});
|
});
|
Loading…
Add table
Add a link
Reference in a new issue