@echo off REM Double-clickable wrapper around build_apk.ps1. REM Any arguments are forwarded, e.g. build_apk.cmd -BuildCore setlocal powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0build_apk.ps1" %* set RC=%ERRORLEVEL% if not "%RC%"=="0" echo.& echo BUILD FAILED (exit %RC%) if "%~1"=="" pause exit /b %RC%