v0.0.1-alpha.10 - Hotfix for startup error.

This commit is contained in:
Daniel Scalzi
2018-06-04 20:06:34 -04:00
parent 50d85d30cc
commit 05fe516249
6 changed files with 13 additions and 8 deletions

View File

@@ -85,6 +85,7 @@ exports.load = function(){
config = validateKeySet(DEFAULT_CONFIG, config)
exports.save()
}
console.log('%c[ConfigManager]', 'color: #a02d2a; font-weight: bold', 'Successfully Loaded')
}
/**

View File

@@ -54,6 +54,12 @@ function getCurrentView(){
}
function showMainUI(){
if(!isDev){
console.log('%c[AutoUpdater]', 'color: #a02d2a; font-weight: bold', 'Initializing..')
ipcRenderer.send('autoUpdateAction', 'initAutoUpdater', ConfigManager.getAllowPrerelease())
}
updateSelectedServer(AssetGuard.getServerById(ConfigManager.getSelectedServer()).name)
refreshServerStatus()
setTimeout(() => {

View File

@@ -67,7 +67,6 @@ if(!isDev){
break
}
})
ipcRenderer.send('autoUpdateAction', 'initAutoUpdater')
}
/**