- 前提
- GitHub のユーザ名を USERNAME とする
- app.example.jp でアプリを公開するとする
- DNS で app.example.jp の CNAME に USERNAME.github.com を設定
- GitHub で app.exaple.jp リポジトリを作成
- ドメイン名とリポジトリ名は一致する必要は無い
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# see follwoing pages: | |
# https://developer.mozilla.org/en-US/Firefox_OS/Platform/Gaia/Build_System_Primer | |
# https://developer.mozilla.org/en-US/Firefox_OS/Customization_with_the_.userconfig_file | |
# get locale files before use this script: | |
# cd locales | |
# hg clone http://hg.mozilla.org/gaia-l10n/en-US | |
# hg clone http://hg.mozilla.org/gaia-l10n/ja |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Makefile b/Makefile | |
index 0ac9c92..d0ca28b 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -35,9 +35,9 @@ ifndef B2G_PLATFORM | |
endif | |
endif | |
-B2G_VERSION=1.3 | |
-GECKO_VERSION=28 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Firefox OS 1.3 などでは APN 設定ファイル (を読み込む処理) に問題があり、一部の国内 SIM で Setting アプリで APN の設定をしてデータ通信を有効にすることができません。このスクリプトとパッチファイルはその問題を解決するために端末中の Settings アプリを取り出し該当ファイルにパッチを当てて再度端末中に書き込むものです。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dynabook:dev dynamis$ adb devices -l | |
List of devices attached | |
LGOTMS19d9a863 device usb:1D110000 product:LGL25_jp_kdi model:LGL25 device:madai | |
dynabook:dev dynamis$ adb shell cat /system/b2g/defaults/pref/user.js | |
pref('browser.manifestURL', "app://system.gaiamobile.org/manifest.webapp"); | |
pref('b2g.system_manifest_url', "app://system.gaiamobile.org/manifest.webapp"); | |
pref('b2g.neterror.url', "app://system.gaiamobile.org/net_error.html"); | |
pref('browser.homescreenURL', "app://system.gaiamobile.org/index.html"); | |
pref('b2g.system_startup_url', "app://system.gaiamobile.org/index.html"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I/ThermalEngine( 236): Sensor:pa_therm0:39000 mC | |
I/WakeLock( 222): Request WakeLock : b2g | |
I/WakeLock( 222): Request WakeLock : b2g | |
I/Gecko ( 222): *** AUS:SVC Creating Downloader | |
E/GeckoConsole( 222): AUS:SVC Creating Downloader | |
I/Gecko ( 222): *** AUS:SVC UpdateService:_downloadUpdate | |
E/GeckoConsole( 222): AUS:SVC UpdateService:_downloadUpdate | |
I/Gecko ( 222): *** AUS:SVC readStatusFile - status: null, path: /data/local/updates/0/update.status | |
E/GeckoConsole( 222): AUS:SVC readStatusFile - status: null, path: /data/local/updates/0/update.status | |
I/Gecko ( 222): *** AUS:SVC Downloader:_selectPatch - found existing patch with state: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"en-US" : "English (US)", | |
"ja" : "日本語" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>testcase for bug 643307</title> | |
<style> | |
@font-face { | |
font-family: invalid; | |
src: url(invalidurl); | |
} | |
.invalidfont { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"app.reportCrashes": "always", | |
"app.update.interval": 86400, | |
"bluetooth.enabled": true, | |
"camera.sound.enabled": false, | |
"debug.console.enabled": true, | |
"debug.gaia.enabled": false, | |
"debugger.remote-mode": "adb-devtools", | |
"developer.menu.enabled": true, | |
"devtools.debugger.remote-enabled": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ ! -f locales/languages.json ]; then | |
wget -O locales/languages.json http://r.dynamis.jp/languages.json | |
fi | |
if [ ! -d locales/en-US ]; then | |
hg clone http://hg.mozilla.org/gaia-l10n/en-US locales/en-US | |
fi | |
if [ ! -d locales/ja ]; then | |
hg clone http://hg.mozilla.org/gaia-l10n/ja locales/ja |
OlderNewer