don't check updates at startup

This commit is contained in:
antelle 2016-04-23 22:53:48 +03:00
parent ecd9d5c812
commit db12c76987
2 changed files with 3 additions and 5 deletions

View File

@ -38,10 +38,7 @@ var Updater = {
},
init: function() {
var willCheckNow = this.scheduleNextCheck();
if (!willCheckNow && this.getAutoUpdateType()) {
this.check();
}
this.scheduleNextCheck();
if (!Launcher && window.applicationCache) {
window.applicationCache.addEventListener('updateready', this.checkAppCacheUpdateReady.bind(this));
this.checkAppCacheUpdateReady();
@ -63,7 +60,6 @@ var Updater = {
}
this.nextCheckTimeout = setTimeout(this.check.bind(this), timeDiff);
logger.info('Next update check will happen in ' + Math.round(timeDiff / 1000) + 's');
return timeDiff === this.MinUpdateTimeout;
},
check: function(startedByUser) {

View File

@ -2,12 +2,14 @@ Release notes
-------------
##### v1.2.0 (TBD)
Auto-type, ui improvements
`+` allow selecting attachments with click
`+` save groups collapsed/expanded state
`+` docker container
`+` edit and remove tags
`+` register file associations
`-` prevent second app instance on windows
`*` don't check updates at startup
##### v1.1.4 (2016-04-21)
`-` fixed Firefox loading issues