External apps are split in two folders during make gaia process. For a given application 'app' two folders are generated in webapps/profile: 'app' and 'app.gaiamobile.org'
Albert, do you know the root cause? looks we will have two times to generate zip file for same app.
For external apps, webapp-manifests.js copies data to 'sourceDirectoryName' (f.e. gamepack) and then, webapp-zip.js generates the zip in 'domain' (gamepack.gaiamobile.org). The result is profile contains both folders. External apps doesn't need to generate the zip, so patch copies data in webapp-manifests.js and does nothing in webapp-zip.js
ni? Fabrice for question on github  https://github.com/mozilla-b2g/gaia/pull/13185/files#r7393351
Sorry I didn't see that you pinged me on github. The metadata.json is not needed in the shipped profile. It's only used to set correct values in webapps.json for the app.
Comment on attachment 824050 [details] Patch Thank you Fabrice! and r=yurenju if comments on github are addressed.
Attachment #824050 - Flags: review?(yurenju.mozilla) → review+
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.