mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-27 02:38:22 +08:00
Update Easy_Install-V2.bat
This commit is contained in:
@@ -31,7 +31,7 @@ goto menu
|
|||||||
echo :: For fresh install, Run from step "1" to "3"
|
echo :: For fresh install, Run from step "1" to "3"
|
||||||
echo.
|
echo.
|
||||||
echo 1.Essentials programs
|
echo 1.Essentials programs
|
||||||
echo 2.Clone repository
|
echo 2.Clone repository (Download the latest version from LmeSzinc repository)
|
||||||
echo 3.Python 3.7.6 + requirements.txt
|
echo 3.Python 3.7.6 + requirements.txt
|
||||||
echo 4.Updater ONLY (Do not update if you are doing a fresh install)
|
echo 4.Updater ONLY (Do not update if you are doing a fresh install)
|
||||||
echo.
|
echo.
|
||||||
@@ -128,7 +128,7 @@ if exist %ROOT% (
|
|||||||
if %errorlevel% == 0 (
|
if %errorlevel% == 0 (
|
||||||
echo GIT Found! Proceeding..
|
echo GIT Found! Proceeding..
|
||||||
echo Cloning repository...
|
echo Cloning repository...
|
||||||
call git clone https://github.com/LmeSzinc/AzurLaneAutoScript.git && cd AzurLaneAutoScript && git remote add whoamikyo https://github.com/whoamikyo/AzurLaneAutoScript.git > clone-%DATE:~-4%-%DATE:~4,2%-%DATE:~7,2%_%time:~0,2%%time:~3,2%%time:~6,2%.log
|
call git clone https://github.com/LmeSzinc/AzurLaneAutoScript.git && cd AzurLaneAutoScript && git remote add whoamikyo https://github.com/whoamikyo/AzurLaneAutoScript.git
|
||||||
) else (
|
) else (
|
||||||
echo :: Git not found, maybe there was an installation issue, try opening another CMD window and type choco install git
|
echo :: Git not found, maybe there was an installation issue, try opening another CMD window and type choco install git
|
||||||
echo.
|
echo.
|
||||||
@@ -230,7 +230,7 @@ goto updater
|
|||||||
if %errorlevel% == 0 (
|
if %errorlevel% == 0 (
|
||||||
echo GIT Found! Proceeding..
|
echo GIT Found! Proceeding..
|
||||||
echo Updating from whoamikyo repository..
|
echo Updating from whoamikyo repository..
|
||||||
call git fetch whoamikyo master && git reset --hard whoamikyo/master && git pull --ff-only whoamikyo master
|
call git remote add whoamikyo https://github.com/whoamikyo/AzurLaneAutoScript.git && git fetch whoamikyo master && git reset --hard whoamikyo/master && git pull --ff-only whoamikyo master
|
||||||
) else (
|
) else (
|
||||||
echo :: Git not detected, maybe there was an installation issue, try opening another CMD window and type choco install git
|
echo :: Git not detected, maybe there was an installation issue, try opening another CMD window and type choco install git
|
||||||
echo.
|
echo.
|
||||||
@@ -244,7 +244,7 @@ goto updater
|
|||||||
if %errorlevel% == 0 (
|
if %errorlevel% == 0 (
|
||||||
echo GIT Found! Proceeding..
|
echo GIT Found! Proceeding..
|
||||||
echo Updating from whoamikyo nightly repository..
|
echo Updating from whoamikyo nightly repository..
|
||||||
call git fetch whoamikyo nightly && git reset --hard whoamikyo/nightly && git pull --ff-only whoamikyo nightly
|
call git remote add whoamikyo https://github.com/whoamikyo/AzurLaneAutoScript.git && git fetch whoamikyo nightly && git reset --hard whoamikyo/nightly && git pull --ff-only whoamikyo nightly
|
||||||
) else (
|
) else (
|
||||||
echo :: Git not detected, maybe there was an installation issue, try opening another CMD window and type choco install git
|
echo :: Git not detected, maybe there was an installation issue, try opening another CMD window and type choco install git
|
||||||
echo.
|
echo.
|
||||||
|
|||||||
Reference in New Issue
Block a user