mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-23 09:01:45 +00:00
Doc: Quick guide updated with EasyALAS_CLICK_INSTALL guide
This commit is contained in:
parent
ec17a93cc9
commit
d23ed54e2b
@ -56,7 +56,7 @@ popd
|
|||||||
PowerShell -Command "Start-Sleep -s 10" > nul 2>&1
|
PowerShell -Command "Start-Sleep -s 10" > nul 2>&1
|
||||||
|
|
||||||
:: killing adb server
|
:: killing adb server
|
||||||
"%PROGRAMDATA%\chocolatey\lib\adb\tools\platform-tools\adb.exe" kill-server > nul 2>&1
|
call adb kill-server > nul 2>&1
|
||||||
|
|
||||||
pushd %~dp0
|
pushd %~dp0
|
||||||
echo creating Virtual Environment
|
echo creating Virtual Environment
|
||||||
|
11
alas.bat
11
alas.bat
@ -1,5 +1,14 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
adb connect 127.0.0.1:5555
|
echo Start batch on %CD%
|
||||||
|
call .\venvalas\scripts\activate.bat
|
||||||
|
REM Change to your emulator port
|
||||||
|
::adb connect 127.0.0.1:5565
|
||||||
python -m uiautomator2 init
|
python -m uiautomator2 init
|
||||||
Py alas_en.pyw
|
Py alas_en.pyw
|
||||||
|
|
||||||
|
PAUSE
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -9,6 +9,16 @@
|
|||||||
* The use of a virtual environment (venv) in python is highly recommended
|
* The use of a virtual environment (venv) in python is highly recommended
|
||||||
* ADB debugging enabled and emulator with 1280x720 resolution
|
* ADB debugging enabled and emulator with 1280x720 resolution
|
||||||
* **Read the entire guide before asking any questions.**
|
* **Read the entire guide before asking any questions.**
|
||||||
|
*
|
||||||
|
|
||||||
|
# New installation method
|
||||||
|
|
||||||
|
* Just download the file [EasyALAS_CLICK_INSTALL.bat](https://raw.githubusercontent.com/whoamikyo/AzurLaneAutoScript/master/EasyALAS_CLICK_INSTALL.bat), put in some folder and run as administrator (`Right click> Run as administrator`)
|
||||||
|
* Then it will install everything and download ALAS
|
||||||
|
* Will be created a folder `AzurLaneAutoScript` in the directory you run `EasyALAS_CLICK_INSTALL.bat`
|
||||||
|
* To Run ALAS, just click in `alas.bat`
|
||||||
|
* to avoid connection errors it's recommended to configure your emulator port correctly in the `alas.bat` file, just open it with notepad and edit line 6, remove the `::` and configure with your emulator PORT, below you have more information on how to find your emulator PORT, READ ALL.
|
||||||
|
* It probably doesn't work on windows 7, you can test it and if it doesn't work try manual installation, tested on Windows 10 x64 Version 2004.
|
||||||
|
|
||||||
|
|
||||||
# How to create e python virtual environment
|
# How to create e python virtual environment
|
||||||
|
Loading…
Reference in New Issue
Block a user