mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 1126047 - Imported apps that specify an origin are not correctly installed r=marco
This commit is contained in:
parent
73aa0bddb0
commit
b6a8e00e73
@ -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