1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-04-06 05:29:05 +08:00

Opt: added auto config backup when run alas.bat

This commit is contained in:
whoamikyo
2020-08-26 22:15:07 -03:00
parent d1f37dd479
commit 206b02fa9a
2 changed files with 5 additions and 2 deletions

View File

@@ -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%