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) {