So I've been mostly playing with modifying gaia apps (as I said earlier,
to maintain changes that wouldn't ever make it upstream).

The flame v180 eng(!) build with user(!) gecko/gaia flashed has all gaia
apps in /system/b2g/webapps and /data/local/webapps/ only contains
uuid-folder names, i.e. non-gaia apps.

The changes somehow didn't surface when I changed the ZIPs in
/system/b2g/webapps/.


On 30.09.2014 21:53, Dave Hylands wrote:
> Hey Freddy,
> 
> There are 2 locations on a device that a webapp might exist.
> 
> For user builds, all of the apps which ship with the device are stored
> in /system/b2g/webapps
> For eng builds, all of the apps which ship with the device are stored in
> /data/local/webapps
> 
> Apps installed from marketplace go into the /data location.
> 
> I believe that /data/local/webapps/webapps.json contains a list of all
> of the apps and where they're located.
> 
> So it may depend on the type of build that you have as to where the app
> is actually stored.
> 
> Dave Hylands
> 
> 
> ------------------------------------------------------------------------
> 
>     *From: *"Frederik Braun" <[email protected]>
>     *To: *"dev-b2g" <[email protected]>
>     *Sent: *Tuesday, September 30, 2014 6:14:03 AM
>     *Subject: *[b2g] modifying application.zip on device
> 
>     Hi,
> 
>     I was trying to poke the device in a more or less unexpected way:
>     Pull an application.zip, make some modifications and push it back. Then
>     reboot.
> 
>     The idea was for me to have a small script that keeps track of my
>     personal modifications (i.e, removing or adding options from
>     search/providers.json for settings app).
> 
> 
>     But what I observed is that it doesn't work reliably. I have two Flames,
>     where one is running an Aurora User build whereas the other is on a
>     Central Engineering build. And the modifications only work on the
>     latter, with no visible difference in logcat. The search options are
>     still the same for the first phone, where they do change for the latter.
> 
>     The shell script I use is here
>     <https://gist.github.com/mozfreddyb/a2cd42f1cf8eaf1180d0>
> 
>     I do check if I have the permission and remount before modifying. I also
>     reboot after having done the modifications.
>     Anyone got any clue?
> 
>     Thanks!
>     Freddy
>     _______________________________________________
>     dev-b2g mailing list
>     [email protected]
>     https://lists.mozilla.org/listinfo/dev-b2g
> 
> 

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to