2020-05-29 01:08:21 +00:00
|
|
|
@echo off
|
2020-06-03 18:21:52 +00:00
|
|
|
|
2020-06-18 16:13:00 +00:00
|
|
|
call adb kill-server > nul 2>&1
|
2020-06-14 16:13:10 +00:00
|
|
|
REM Change to your emulator port
|
2020-06-18 16:13:00 +00:00
|
|
|
adb connect 127.0.0.1:5565
|
|
|
|
|
|
|
|
echo initializing uiautomator2
|
2020-06-03 18:21:52 +00:00
|
|
|
python -m uiautomator2 init
|
2020-06-14 16:13:10 +00:00
|
|
|
|
2020-06-18 16:13:00 +00:00
|
|
|
:: timout
|
|
|
|
PowerShell -Command "Start-Sleep -s 3" > nul 2>&1
|
|
|
|
|
|
|
|
goto alas
|
|
|
|
|
|
|
|
:alas
|
|
|
|
cls
|
|
|
|
echo.
|
|
|
|
echo :: Alas run
|
|
|
|
echo.
|
|
|
|
echo Choose your server
|
|
|
|
echo.
|
|
|
|
echo 1. EN
|
|
|
|
echo 2. CN
|
|
|
|
echo 3. JP
|
|
|
|
echo.
|
|
|
|
echo :: Type a 'number' and press ENTER
|
|
|
|
echo :: Type 'exit' to quit
|
|
|
|
echo.
|
|
|
|
|
|
|
|
set /P menu=
|
|
|
|
if %menu%==1 GOTO en
|
|
|
|
if %menu%==2 GOTO cn
|
|
|
|
if %menu%==3 GOTO jp
|
|
|
|
if %menu%==exit GOTO EOF
|
|
|
|
|
|
|
|
else (
|
|
|
|
cls
|
|
|
|
echo.
|
|
|
|
echo :: Incorrect Input Entered
|
|
|
|
echo.
|
|
|
|
echo Please type a 'number' or 'exit'
|
|
|
|
echo Press any key to retry to the menu...
|
|
|
|
echo.
|
|
|
|
pause > NUL
|
|
|
|
goto alas
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
:en
|
|
|
|
%~dp0python/python.exe alas_en.pyw
|
|
|
|
|
|
|
|
goto alas
|
2020-06-14 16:13:10 +00:00
|
|
|
|
2020-06-18 16:13:00 +00:00
|
|
|
:cn
|
|
|
|
%~dp0python/python.exe alas_cn.pyw
|
2020-06-14 16:13:10 +00:00
|
|
|
|
2020-06-18 16:13:00 +00:00
|
|
|
goto alas
|
2020-06-14 16:13:10 +00:00
|
|
|
|
2020-06-18 16:13:00 +00:00
|
|
|
:jp
|
|
|
|
%~dp0python/python.exe alas_jp.pyw
|
2020-06-14 16:13:10 +00:00
|
|
|
|
2020-06-18 16:13:00 +00:00
|
|
|
goto alas
|