mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 17:57:01 +08:00
Fix: fix bug in alas.bat that cause 2 loops in u2 init
- added handle in alas.bat that change default package in EN server to com.YoStarEN.AzurLane, ALAS do it already but have an unknown behavior that causes this process to fail, so an external layer was added against this issue
This commit is contained in:
@@ -32,4 +32,12 @@ for /f "delims=" %%i in (%cfg_Alas%.bak) do (
|
||||
echo %%i | findstr "serial" >NUL && ( set "cfg_Content=serial = %cfg_Extra%" )
|
||||
echo !cfg_Content!>>%cfg_Alas%
|
||||
)
|
||||
goto :eof
|
||||
|
||||
:Config_AzurLanePackage
|
||||
for /f "delims=" %%i in (%cfg_Alas%.bak) do (
|
||||
set "cfg_Content=%%i"
|
||||
echo %%i | findstr "package_name" >NUL && ( set "cfg_Content=package_name = %cfg_Extra%" )
|
||||
echo !cfg_Content!>>%cfg_Alas%
|
||||
)
|
||||
goto :eof
|
||||
Reference in New Issue
Block a user