因为在windows上有个编译即make问题,所以我们需要采取一种特殊的方法来解决这个问题,但是安装过程原理是一样的,没有什么区别。
1.根据你的操作系统下载最新的B2G installer ,解压缩。(当然你可以找到每日构建版点击这里)
2. 你可以不用安装"git"工具,直接下载gaia文件,点击这里下载
3.解压缩 gaia-profile到b2g(你刚才下载的解压缩后的b2g目录)目录中
4.同时,在b2g目录中,鼠标右击b2g.exe然后选择“创建快捷方式”
5.鼠标右击创建好的快捷方式,点“属性”,在“目标"文本框中添加如下代码:
- -profile "C:\<你的b2g目录路径>\gaia-profile"
复制代码
添加好后如同例举的下面格式:
- d:\b2g\b2g.exe -profile "d:\b2g\gaia-profile"
复制代码
最后,双击快捷方式将会载入配置好的文件。
Episode Summary
Mozilla has released a beta test of their new Mobile Operating System. This video shows you how to install it on Windows to test it out.
How To Install
Mac/Linux
The Firefox dev platform is made to run on Mac and Linux, so it'll be easier to install. You can find a simple guide here. But basically the process is as follows:
- Download the latest B2G isntaller] for your Operating system (you can find nightly builds here).
- Use Git to download a Gaia profile for the Firefox OS to use.
git clone git://github.com/mozilla-b2g/gaia
- Use GCC to actually compile the profile
make -C gaia profile
- On Linux, use the command below to launch the program, where /path/to/b2g is the actual path to the desktop build on your machine
/path/to/b2g -profile gaia/profile
- On a Mac, use the command below to launch the program, where <your username> is your Mac username
/Applications/B2G.app/Contents/MacOS/b2g -profile /Users/<your username>/gaia/profile
Windows
Since windows doesn't have a build in option to "make" the profile, we kind of have to use a workaround. Otherwise, it's essentially the same.
- Download the latest B2G isntaller] for your Operating system and unzip it to your computer (you can find nightly builds here).
- Instead of installing "git", I've uploaded a gaia-profile to my website that you can download.
- Unzip the gaia-profile to your b2g folder that you downloaded
- Also, in your b2g folder, right-click on b2g.exe and choose "create shortcut"
- In the "target" textbox, add -profile "C:\<path to your b2g folder>\gaia-profile". Essentially it will look something like this:
C:\Users\<your username>\Desktop\b2g\b2g.exe -profile "C:\Users\<your username>\Desktop\b2g\gaia-profile"
- Double click on the shortcut and it should load the interface
A Word Of Warning
This release is not meant to be an entirely functional version. If you're not a curious early adopter, there's no really reason to download and try this. It's only for those that want to see what Firefox is up to.