Give upstreamVersion in manifest priority
This commit is contained in:
@@ -2051,7 +2051,9 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
// amend the post install confirm state
|
||||
app.pendingPostInstallConfirmation = !!localStorage['confirmPostInstall_' + app.id];
|
||||
|
||||
if (app.manifest.description) { // can be empty for dev apps
|
||||
if (app.manifest.upstreamVersion) {
|
||||
app.upstreamVersion = app.manifest.upstreamVersion;
|
||||
} else if (app.manifest.description) { // can be empty for dev apps
|
||||
var tmp = app.manifest.description.match(/\<upstream\>(.*)\<\/upstream\>/i);
|
||||
app.upstreamVersion = (tmp && tmp[1]) ? tmp[1] : '';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user