mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Opt: added auto config backup when run alas.bat
This commit is contained in:
parent
d1f37dd479
commit
206b02fa9a
4
alas.bat
4
alas.bat
@ -488,7 +488,7 @@ rem ================= EMULATOR SETUP MENU =================
|
||||
:Emulator_Setup
|
||||
cls
|
||||
if NOT exist config\alas.ini (
|
||||
echo f | xcopy config\template.ini config\alas.ini
|
||||
echo f | xcopy config\template.ini config\alas.ini > nul
|
||||
)
|
||||
echo ====================================================================================================
|
||||
echo == It seems like this is the first time that you run this program
|
||||
@ -801,7 +801,7 @@ if "%KillServer%"=="enable" (
|
||||
%adbBin% kill-server > nul 2>&1
|
||||
)
|
||||
echo == connecting at %SerialRealtime%
|
||||
%adbBin% connect %SerialRealtime%
|
||||
%adbBin% connect %SerialRealtime% > nul
|
||||
if "%FirstRun%"=="yes" (
|
||||
call command\Config.bat Serial %SerialRealtime%
|
||||
call command\ConfigTemplate.bat SerialTemplate %SerialRealtime%
|
||||
|
||||
@ -18,6 +18,9 @@ rem ================= FUNCTIONS =================
|
||||
:: Get %Language% , %Region% , %SystemType%
|
||||
:Import_Main
|
||||
:: 1. Get customized %Language%, or decided by "LanguageSelector"
|
||||
if exist config\alas.ini (
|
||||
echo f | xcopy /y config\alas.ini config\alas.ini.backup > nul
|
||||
)
|
||||
call command\SystemSet.bat
|
||||
call command\LanguageSet.bat
|
||||
if exist config\alas.ini (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user