Use updateConfig addons instead of manifest addons to setup

Even though app.manifest variable is updated by updatedApp, the
setupAddons is called with the _old_ value because it is a bind()
This commit is contained in:
Girish Ramakrishnan
2017-12-21 01:07:38 -08:00
parent c4cb6b5819
commit dc644570f7

View File

@@ -652,7 +652,7 @@ function update(app, callback) {
downloadIcon.bind(null, app),
updateApp.bind(null, app, { installationProgress: '70, Updating addons' }),
addons.setupAddons.bind(null, app, app.manifest.addons),
addons.setupAddons.bind(null, app, app.updateConfig.manifest.addons),
updateApp.bind(null, app, { installationProgress: '80, Creating container' }),
createContainer.bind(null, app),