Skip to content
Tools to easily flash b2g on your android phone
JavaScript HTML CSS Makefile Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Fira
linux
linux64
mac64
test
tools
.gitignore
.travis.yml.temp
Connect_Icon_130x130.png
Flash_Icon_130x130.png
Header.png
Header_Gradient.png
Makefile
Makefile.in
README
Select_Icon_130x130.png
about.css
about.js
about.xhtml
add-b2ginstaller-mozbuild.patch
bootstrap.js
build.sh
build_autoconf.sh
checkmark.png
chrome.manifest
failure.png
imaging_tools.js
index.html.tmpl
jar.mn
main.js
moz.build
prepare.sh
spinner.png
subprocess.js
subprocess_worker_unix.js
subprocess_worker_win.js
template-install.rdf
template-update.rdf

README

Check online doc at https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Building_and_installing_Firefox_OS/B2G_Installer_Addon

Quick cheat:
 - get a clone from mozilla-central
 - create a browser/extensions/b2g-installer/ inside and copy everything from this repo to browser/extensions/b2g-installer/
 OR
 - symlink browser/extensions/b2g-installer/ to this repo
 - change browser/extensions/moz.build and add "b2g-installer" in DIRS
 - ./mach build && ./mach build package in gecko to build
 - addon is built in objdir/dist/xpi-stage/b2g-installer/
 - running tests with:
   - ./mach mochitest browser/extensions/b2g-installer/
   - ./mach xpcshell-test browser/extensions/b2g-installer/
 - never forget to generate install.rdf and/or update.rdf

Releasing updates:
 - increment ADDON_VERSION
 - produce all platform XPIs, name them as "b2g-installer-@@ADDON_VERSION@@-@@PLATFORM@@.xpi"
 - copy in the repo
 - verify index.html.tmpl
 - XPIS="..." make dorelease
 - ... should generate and update verything
 - ... should commit new version
 - ... should tag new version
 - verify and |git push| to github
You can’t perform that action at this time.