Bug 1126047 - Imported apps that specify an origin are not correctly installed r=marco

This commit is contained in:
Fabrice Desré 2015-01-28 17:24:38 -08:00
parent 73aa0bddb0
commit b6a8e00e73

View File

@ -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 {