GuessWhoIAmS/zSbmoduleUpdate.bat

38 lines
817 B
Batchfile
Raw Normal View History

2023-09-01 01:36:52 +00:00
@echo off
title Git Working
goto selectAll
:selectAll
echo ---------------------------------------------------
set n=0
echo 1.<2E>Ĥ@<40><><EFBFBD><EFBFBD><EFBFBD>M<EFBFBD>׳]<5D>w<EFBFBD>һݤl<DDA4>x<EFBFBD>s<EFBFBD>w
echo 2.<2E>Ҧ<EFBFBD><D2A6>l<EFBFBD>x<EFBFBD>s<EFBFBD>w<EFBFBD>I<EFBFBD>s<EFBFBD>p<EFBFBD>Q<EFBFBD>tPULL<4C><4C><EFBFBD><EFBFBD>
echo *<2A>`<60>N<EFBFBD><4E><EFBFBD>x<EFBFBD>s<EFBFBD>w<EFBFBD>]<5D>|<EFBFBD><EFBFBD><EFBFBD>۩I<EFBFBD>s.<2E>S<EFBFBD><53><EFBFBD><EFBFBD><EFBFBD>~<7E>|<EFBFBD>۰<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
set/p n= <20>п<EFBFBD><D0BF>ܡG
if "%n%"=="1" ( goto change )
if "%n%"=="2" ( goto childupdate )
goto exit
:change
echo <20>Ĥ@<40><><EFBFBD><EFBFBD><EFBFBD>M<EFBFBD>׳]<5D>w<EFBFBD>һݤl<DDA4>x<EFBFBD>s<EFBFBD>w
echo.
cd src/shared
git clone --progress -v https://jianmiau.ddns.net/GuessWhoIAm/Protocols.git protocols
cd ..\..
echo <20><><EFBFBD><EFBFBD>
goto selectAll
:childupdate
echo <20>Ҧ<EFBFBD><D2A6>l<EFBFBD>x<EFBFBD>s<EFBFBD>w<EFBFBD>I<EFBFBD>s<EFBFBD>p<EFBFBD>Q<EFBFBD>tPULL<4C><4C><EFBFBD><EFBFBD>
2023-09-01 09:39:14 +00:00
TortoiseGitProc -command:pull /closeonend:2
echo main done.
2023-09-01 01:36:52 +00:00
cd src/shared/protocols
TortoiseGitProc -command:pull /closeonend:2
echo path:src\shared\protocols done.
cd ..\..\..
echo <20><><EFBFBD><EFBFBD>
goto selectAll