安装探针命令增加自动创建文件夹的代码 fix #59

This commit is contained in:
dushixiang committed 2026-01-24 18:30:00 +08:00
1 parent b68867828f
commit 58efeea362
1 file changed
+1
@@ -204,6 +204,7 @@ download_agent() {
fi
# 移动到目标位置
mkdir -p /usr/local/bin
mv "$temp_file" "/usr/local/bin/$AGENT_NAME"
chmod +x "/usr/local/bin/$AGENT_NAME"