更新工作区配置,删除不再使用的Cloudflare相关文件,优化日志输出格式,增强主机信息收集功能,调整代码结构以提高可维护性。

This commit is contained in:
zeaslity
2025-03-28 00:15:08 +08:00
parent c2ca7eb6d7
commit 6816638267
19 changed files with 847 additions and 155 deletions

View File

@@ -2,7 +2,7 @@ package cmd
import (
"agent-wdd/cmd/xray"
"agent-wdd/config"
"agent-wdd/host_info"
"agent-wdd/log"
"agent-wdd/op"
"agent-wdd/utils"
@@ -229,7 +229,7 @@ func installVmess(port string) (bool, []string) {
result.Reset() // 清空全局buffer以备后续使用
// 输出 client的配置
configCache := config.ConfigCache
configCache := host_info.ConfigCache
// 获取服务器节点名称
serverNodeName := configCache.Agent.OS.Hostname