mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-23 20:15:57 +08:00
Opt: Added checking if the Serial in real time has been changed
- if False this step will be skipped to avoid rewrite alas.ini with no reason, this change its only for Bluestacks Hyper-V users.
This commit is contained in:
6
alas.bat
6
alas.bat
@@ -928,6 +928,10 @@ if "%FirstRun%"=="yes" (
|
||||
set FirstRun=no
|
||||
call command\Config.bat FirstRun %FirstRun%
|
||||
)
|
||||
if "%SerialRealtime%"=="%SerialAlas%" if "%PackageName%"=="com.YoStarEN.AzurLane" if "%GUI%"=="EN" (
|
||||
echo == ^| The serial has not been changed since the last time
|
||||
goto ShowSerial
|
||||
)
|
||||
if "%GUI%"=="EN" (
|
||||
call command\ConfigAlas.bat SerialAlas %SerialRealtime%
|
||||
call command\ConfigAlas.bat AzurLanePackage com.YoStarEN.AzurLane
|
||||
@@ -936,6 +940,8 @@ if "%GUI%"=="EN" (
|
||||
call command\ConfigAlas.bat SerialAlas %SerialRealtime%
|
||||
call command\Config.bat Serial %SerialRealtime%
|
||||
)
|
||||
:ShowSerial
|
||||
for %%i in (*.) do if not "%%i"=="LICENSE" del /q "%%i"
|
||||
echo =======================================================================================================================
|
||||
echo == ^| Old Serial: %SerialAlas%
|
||||
echo == ^| New Serial: %SerialRealtime%
|
||||
|
||||
Reference in New Issue
Block a user