FlyTori / firefox_tv_simulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install simulator (for Mac)

  1. Open terminal

  2. Install homebrew (visit this site for latest install info: http://brew.sh/)

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  1. Use homebrew to install git

brew install git

  1. Use home-brew to install node

brew install node

  1. Install gaia-develop (thanks to developer Yifan for this package)

npm install -g gaia-develop

  1. git clone gaia (you can change the directory)

git clone https://github.com/mozilla-b2g/gaia

  1. Download and install Firefox Nightly, named b2g-xxxxxxxxxx-US.mac64.dmg, at:

http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central

Open simulator

  1. Open gaia folder (if you changed the directory in step 5, open corresponding directory)

cd ~/gaia

  1. Pull latest code & open simulator

git pull origin master; gaia-develop tv

Function keys

  • Back (TV) = ESC (laptop)
  • Home (TV) = (1) home button at bottom, or (2) "fn" + "←"
  • Option (TV) = (1) right click on mouse, or (2) "double click" on touch-pad

About