Move update checker to not start until after d/l content set

This commit is contained in:
Ryan Huffman 2016-01-19 14:15:29 -08:00
parent 82456d64cf
commit c44022d329

View file

@ -569,6 +569,11 @@ app.on('ready', function() {
tray.popUpContextMenu(tray.menu);
});
updateTrayMenu(ProcessGroupStates.STOPPED);
maybeInstallDefaultContentSet(function() {
maybeShowSplash();
// if (buildInfo.releaseType == 'PRODUCTION') {
if (true) { // TODO: remove, uncomment line above
var currentVersion = null;
@ -597,12 +602,6 @@ app.on('ready', function() {
}
}
updateTrayMenu(ProcessGroupStates.STOPPED);
maybeInstallDefaultContentSet(function() {
maybeShowSplash();
if (dsPath && acPath) {
domainServer = new Process('domain-server', dsPath, ["--get-temp-name"], logPath);
acMonitor = new ACMonitorProcess('ac-monitor', acPath, ['-n6',