mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1126047 - Imported apps that specify an origin are not correctly installed r=marco
This commit is contained in:
parent
c0c40a3e32
commit
8708349f7d
@ -377,6 +377,9 @@ this.ImportExport = {
|
||||
if (meta.id in DOMApplicationRegistry.webapps) {
|
||||
throw "DuplicateOrigin";
|
||||
}
|
||||
// We need to change the app directory name to match the new meta.id
|
||||
appDir.moveTo(appDir.parent, meta.id);
|
||||
|
||||
meta.origin = uri.prePath;
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user