mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-16 15:07:22 +08:00
Opt: added pip upgrade to update routine.
This commit is contained in:
4
alas.bat
4
alas.bat
@@ -131,7 +131,7 @@ goto MENU
|
||||
rem ================= OPTION 1 =================
|
||||
|
||||
:en
|
||||
call command\ConfigAlas.bat AzurLanePackage com.YoStarEN.AzurLane
|
||||
rem call command\ConfigAlas.bat AzurLanePackage com.YoStarEN.AzurLane
|
||||
call :CheckBsBeta
|
||||
rem :continue_en
|
||||
rem call :AdbConnect
|
||||
@@ -230,6 +230,8 @@ if "%KeepLocalChanges%"=="disable" (
|
||||
%gitBin% pull %source% %Branch%
|
||||
%gitBin% stash pop
|
||||
if "%Region%"=="cn" set "pip_option=--index-url=https://pypi.tuna.tsinghua.edu.cn/simple"
|
||||
echo == ^| Updating PIP
|
||||
call pip install %pip_option% --upgrade pip
|
||||
echo == ^| Updating requirements.txt
|
||||
call pip install -r requirements.txt %pip_option% --no-warn-script-location > %pipLog%
|
||||
echo == ^| requirements.txt updated!
|
||||
|
||||
Reference in New Issue
Block a user