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 c0c40a3e32
commit 8708349f7d

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 {