aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/deploy-firefox-android.bat5
-rw-r--r--tools/make-firefox.bat2
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
)