I'm actually running this on Travis CI, so command-line is a requirement. I'm sure I could manually input those commands to the browser, but no ;-)
My compromise thus far has been to ship gaia in a vendor submodule, build my app, insert it into that gaia's apps folder, build gaia, then run the simulator using that gaia build. It works, it's just not as sexy and I have to download a separate gaia and build it, even though B2G desktop will launch a "default" gaia if not presented with a folder to run. - tofumatt | http://tofumatt.com On 2013-04-15, at 3:06 PM, Myk Melez <m...@mozilla.org> wrote: > On 2013/04/14 04:02, tofumatt wrote: >> That is indeed what I've settled on, but I find it a bit clunky. After all, >> my app isn't really part of gaia. I know the simulator add-on can install >> apps to the simulator while it's running (I believe using xpcscript or >> whatever it is), but I couldn't manage to nail down what code in there was >> using it. > It uses the remote debugging protocol, so most of the code is in Firefox and > the Simulator (which contains the webapps "actor" that responds to a request > to install an app), although there is some glue code in the addon. > >> So it's not a goal to add some kind of "add this app" command so one can add >> something to a built profile? Seems like it would be useful for testing. >> Just curious! > We don't have any plans to do this for the Simulator, but it does seem like > it'd be useful. And it'd be pretty easy to add to the Developer Toolbar > command line, which already has a few Simulator-related commands. Then the > flow for (re)installing an app would be something like: > > Shift-F2 > firefoxos install [name] > > Where [name] is any case-insensitive substring of the app name. And Shift-F2 > is only needed if the toolbar isn't already focused. While "firefox install > [name]" can be retrieved from the command history with the up arrow. > > Would that satisfy your use case, or would the command need to be available > in a terminal? > > -myk > _______________________________________________ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g