[Splash > Backend] Clean up source a bit
This commit is contained in:
parent
d3a586c892
commit
125fac237b
1 changed files with 1 additions and 12 deletions
|
@ -320,14 +320,10 @@ function initSplash(startMinimized = false) {
|
||||||
updateAttempt = 0;
|
updateAttempt = 0;
|
||||||
newUpdater = (0, _updater.getUpdater)();
|
newUpdater = (0, _updater.getUpdater)();
|
||||||
|
|
||||||
if (newUpdater == null) {
|
if (newUpdater == null) initOldUpdater();
|
||||||
initOldUpdater();
|
|
||||||
}
|
|
||||||
|
|
||||||
launchSplashWindow(startMinimized);
|
launchSplashWindow(startMinimized);
|
||||||
|
|
||||||
log('Splash', 'Quickstart config:', process.env.OPENASAR_QUICKSTART || oaConfig.quickstart, '-', process.env.OPENASAR_QUICKSTART, oaConfig.quickstart);
|
|
||||||
|
|
||||||
if (newUpdater != null) {
|
if (newUpdater != null) {
|
||||||
updateUntilCurrent();
|
updateUntilCurrent();
|
||||||
} else {
|
} else {
|
||||||
|
@ -341,13 +337,6 @@ function initSplash(startMinimized = false) {
|
||||||
require('../utils/u2LoadModulePath')();
|
require('../utils/u2LoadModulePath')();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if (newUpdater != null) {
|
|
||||||
updateUntilCurrent();
|
|
||||||
} else {
|
|
||||||
moduleUpdater.installPendingUpdates();
|
|
||||||
moduleUpdater.setInBackground();
|
|
||||||
} */
|
|
||||||
|
|
||||||
launchMainWindow();
|
launchMainWindow();
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue