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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user