From 7b78ddeeb2be74b7b274e7ed6cefc0c8162da5ed Mon Sep 17 00:00:00 2001 From: liuxiaobo <1224730913@qq.com> Date: Fri, 30 May 2025 23:33:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/build.sh | 1 - test/client/config/config.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/server/build.sh b/server/build.sh index 3ef655b..1cbedc0 100644 --- a/server/build.sh +++ b/server/build.sh @@ -59,7 +59,6 @@ RemotePath="/home/ubuntu/game" RemoteFile="$RemotePath/$FILE" LocalFile="bin/$FILE" -rm -rf '$LocalFile' plink -ssh -batch -pw "$Password" "$Username@$Host" "rm -f '$RemoteFile'" if [ $? -eq 0 ]; then echo "删除文件成功" diff --git a/test/client/config/config.go b/test/client/config/config.go index a2b12dd..1b5642f 100644 --- a/test/client/config/config.go +++ b/test/client/config/config.go @@ -19,7 +19,7 @@ type ClientConfig struct { } func initLog() { - log.Open("client.log", log.DebugL) + log.Open("./log/client.log", log.DebugL) } func LoadConfig(GitCommit, GitBranch, BuildDate string) {