# How to Edit manifest.webapp When Using Cordova for Firefox Os

Last updated: Jul 31, 2014

While building my first Firefox OS app, Quickcall, I ran into a rather annoying bug, using Cordova.

### The problem

When you run cordova prepare firefoxos to convert your files in www/ folder to the platforms/firefoxos folder[1], Cordova will overwrite the manifest.webapp file in your dev folder[2] with their default template.

### A solution

Naturally I searched for a solution only to find an unsatisfying answer from the Mozilla team: they suggested manually update the manifest.webapp file every time you want to update your app for a new build — well, technically there’s no build process as Firefox OS apps run using the same Web APIs as its browser counterpart.

Instead just chain the build and copy commands and set up an alias for it, until the team fixed the bug.

You’re good now. All you need to do is run ffos. whenever you want to update your app with the latest changes.