From 9993d6a56be7150b78b024b4f28f44f601750903 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Wed, 17 Apr 2024 09:24:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close.bat clrlogs.bat --- close.bat | 6 +++--- clrlogs.bat | 14 ++++++++++++++ gen_goWebProto.bat | 21 --------------------- 3 files changed, 17 insertions(+), 24 deletions(-) create mode 100644 clrlogs.bat delete mode 100644 gen_goWebProto.bat diff --git a/close.bat b/close.bat index 7472d30..9927ee5 100644 --- a/close.bat +++ b/close.bat @@ -1,9 +1,9 @@ -TASKKILL /F /IM gatesrv.exe +TASKKILL /F /IM dbproxy.exe TASKKILL /F /IM mgrsrv.exe +TASKKILL /F /IM gatesrv.exe TASKKILL /F /IM worldsrv.exe TASKKILL /F /IM gamesrv.exe TASKKILL /F /IM robot.exe -TASKKILL /F /IM minigame.exe -TASKKILL /F /IM dbproxy.exe TASKKILL /F /IM ranksrv.exe + clrlogs.bat \ No newline at end of file diff --git a/clrlogs.bat b/clrlogs.bat new file mode 100644 index 0000000..787b52f --- /dev/null +++ b/clrlogs.bat @@ -0,0 +1,14 @@ +del /F/S dbproxy\*.log +del /F/S dbproxy\*.log.* +del /F/S mgrsrv\*.log +del /F/S mgrsrv\*.log.* +del /F/S gatesrv\*.log +del /F/S gatesrv\*.log.* +del /F/S worldsrv\*.log +del /F/S worldsrv\*.log.* +del /F/S gamesrv\*.log +del /F/S gamesrv\*.log.* +del /F/S robot\*.log +del /F/S robot\*.log.* +del /F/S ranksrv\*.log +del /F/S ranksrv\*.log.* \ No newline at end of file diff --git a/gen_goWebProto.bat b/gen_goWebProto.bat deleted file mode 100644 index 035d7d6..0000000 --- a/gen_goWebProto.bat +++ /dev/null @@ -1,21 +0,0 @@ - -copy -@echo off -set work_path=%cd% -set proto_path=%work_path%\protocol -set protoc=%work_path%\bin\protoc-3.19.4-win64\bin\protoc.exe -set protoc-gen-go-plugin-path="%work_path%\bin\protoc-gen-go.exe" - -echo %protoc3% -cd %proto_path% -for /d %%s in (,*) do ( - rem if %%s NEQ webapi ( - cd %%s - for %%b in (,*.proto) do ( - echo %%b - %protoc% --plugin=protoc-gen-go=%protoc-gen-go-plugin-path% --go_out=. %%b - ) - cd .. - rem ) -) -pause \ No newline at end of file