Le 11/09/2013 12:25, Dave Hylands a écrit :
> My solution is that I put the following in my .userconfig
>
> GAIA_PATH=${GAIA_PATH:-$(cd gaia; pwd)}
> CUSTOM_SETTINGS="${GAIA_PATH}/build/custom-settings.json"
> cat > "${CUSTOM_SETTINGS}.new" <<EOF
> {"devtools.debugger.remote-enabled": true,
>  "keyboard.ftu.enabled": false,
>  "lockscreen.enabled": false,
>  "phone.ring.keypad": false,
>  "bootshutdown.sound.enabled": false}
> EOF
> if [ -f ${CUSTOM_SETTINGS} ] && cmp "${CUSTOM_SETTINGS}" 
> "${CUSTOM_SETTINGS}.new" >& /dev/null; then
>   rm "${CUSTOM_SETTINGS}.new"
> else
>   mv "${CUSTOM_SETTINGS}.new" "${CUSTOM_SETTINGS}"
> fi
>
> and this tweaks a bunch of stuff for all of my builds without having to 
> modify any source code.
>

But I don't think this disables the adb timer for example.

I would be happy if we'd have a pref to do the same as my hacky patch,
so that we would just put this in our build/custom-prefs.js :)

-- 
Julien

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to