diff options
author | AlexVallat <github@alex.vallat.name> | 2015-03-01 16:46:07 +0000 |
---|---|---|
committer | AlexVallat <github@alex.vallat.name> | 2015-03-01 16:46:07 +0000 |
commit | 97028e503209f95a0d1e390457401a824f5eb8d5 (patch) | |
tree | eeaa92a45211ca94f42c10ba9cb45ae1136193f8 /tools | |
parent | b2f578a517a6d26f07219b26de13b6f88c5123f8 (diff) | |
download | uBlock-97028e503209f95a0d1e390457401a824f5eb8d5.zip uBlock-97028e503209f95a0d1e390457401a824f5eb8d5.tar.gz uBlock-97028e503209f95a0d1e390457401a824f5eb8d5.tar.bz2 |
Add helper script for deploying to firefox android
Diffstat (limited to 'tools')
-rw-r--r-- | tools/deploy-firefox-android.bat | 5 | ||||
-rw-r--r-- | tools/make-firefox.bat | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/tools/deploy-firefox-android.bat b/tools/deploy-firefox-android.bat new file mode 100644 index 0000000..09cd7d0 --- /dev/null +++ b/tools/deploy-firefox-android.bat @@ -0,0 +1,5 @@ +@echo off +cd %~dp0 +call make-firefox.bat all +"%ProgramFiles(x86)%\Android\android-sdk\platform-tools\adb" push ..\dist\build\uBlock.firefox.xpi /mnt/sdcard/ +"%ProgramFiles(x86)%\Android\android-sdk\platform-tools\adb" shell am start -a android.intent.action.VIEW -c android.intent.category.DEFAULT -d file:///mnt/sdcard/uBlock.firefox.xpi -n org.mozilla.firefox/.App
\ No newline at end of file diff --git a/tools/make-firefox.bat b/tools/make-firefox.bat index 804b4d1..ad57ff2 100644 --- a/tools/make-firefox.bat +++ b/tools/make-firefox.bat @@ -30,7 +30,7 @@ c:\python34\python "%~dp0\make-firefox-meta.py" %DES%\ if "%1"=="all" ( echo "*** uBlock.firefox: Creating package..." pushd %DES%\ - "%ProgramW6432%\7-Zip\7z.exe" a -tzip -mx9 -bd ..\uBlock.firefox.xpi * + "%ProgramW6432%\7-Zip\7z.exe" a -tzip -mx5 -bd ..\uBlock.firefox.xpi * popd ) |