1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-17 00:28:52 +08:00

Revert "Revert "Dev: Added uiautomator screenshot tool, thanks @LmeSzinc""

This reverts commit 0eb6dd5361.
This commit is contained in:
whoamikyo
2020-06-22 13:08:48 -03:00
parent c8edfdff34
commit 4d069260d3
5 changed files with 187 additions and 16 deletions

View File

@@ -91,15 +91,20 @@ cls
@powershell -NoProfile -ExecutionPolicy Bypass -Command "choco install -y --force --allow-empty-checksums adb git"
:: timout
PowerShell -Command "Start-Sleep -s 10" > nul 2>&1
PowerShell -Command "Start-Sleep -s 3" > nul 2>&1
:: killing adb server
call adb kill-server > nul 2>&1
goto menu
:clone
set ROOT=%~dp0AzurLaneAutoScript
echo Cloning repository
if exist %ROOT% (
RMDIR /S /Q %ROOT%
)
git clone https://github.com/LmeSzinc/AzurLaneAutoScript.git && cd AzurLaneAutoScript && git remote add whoamikyo https://github.com/whoamikyo/AzurLaneAutoScript.git
PowerShell -Command "Start-Sleep -s 3" > nul 2>&1
goto menu
@@ -110,7 +115,7 @@ echo :: Installing Python 3.7.6 + requirements.txt
echo.
echo.
set ROOT=%~dp0AzurLaneAutoScript
set FILE_URL="https://gitlab.com/whoamikyo/alas-venv/-/raw/master/python.zip"
set FILE_URL="https://gitlab.com/whoamikyo/alas-venv/-/blob/master/python.zip"
set FILE_DEST=%ROOT%\pythonpackage.zip
if not exist %ROOT% (
mkdir %ROOT%
@@ -168,15 +173,15 @@ goto menu
:LmeSzinc
git fetch origin master && git reset --hard origin/master && git pull --ff-only origin master
:: timout
PowerShell -Command "Start-Sleep -s 10" > nul 2>&1
PowerShell -Command "Start-Sleep -s 3" > nul 2>&1
goto updater
:whoamikyo
git fetch whoamikyo master && git reset --hard whoamikyo/master && git pull --ff-only whoamikyo master
:: timout
PowerShell -Command "Start-Sleep -s 10" > nul 2>&1
PowerShell -Command "Start-Sleep -s 3" > nul 2>&1
goto updater
:nightly
git fetch whoamikyo nightly && git reset --hard whoamikyo/nightly && git pull --ff-only whoamikyo nightly
:: timout
PowerShell -Command "Start-Sleep -s 10" > nul 2>&1
PowerShell -Command "Start-Sleep -s 3" > nul 2>&1
goto updater