mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 827502 - When trying to reinstall a packaged app, get the id from the manifestURL. r=fabrice
This commit is contained in:
parent
711578d06b
commit
7574c57b0a
@ -1504,6 +1504,11 @@ this.DOMApplicationRegistry = {
|
||||
let id = app.syncId || this._appId(app.origin);
|
||||
let localId = this.getAppLocalIdByManifestURL(manifestURL);
|
||||
|
||||
// For packaged apps, we need to get the id from the manifestURL.
|
||||
if (localId && !id) {
|
||||
id = this._appIdForManifestURL(manifestURL);
|
||||
}
|
||||
|
||||
// Installing an application again is considered as an update.
|
||||
if (id) {
|
||||
isReinstall = true;
|
||||
|
Loading…
Reference in New Issue
Block a user