mirror of https://github.com/gorhill/uBlock.git
Add helper script for deploying to firefox android
This commit is contained in:
parent
b2f578a517
commit
97028e5032
|
@ -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
|
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue