diff --git a/update.bat b/update.bat index 0273302..58edfb5 100644 --- a/update.bat +++ b/update.bat @@ -1,11 +1,13 @@ -@echo on +@echo off + +git pull + set fileName=config.ini if not exist %fileName% ( echo file : %fileName% not exist goto end ) -rem 读取文件,每次读取一行,默认以空格分隔,默认取第一列 for /f %%i in ('type %fileName%') do ( set first=%%i break