删除多个不再使用的配置文件和脚本,更新工作区配置,优化构建和上传脚本,增强项目结构的清晰度和可维护性。

This commit is contained in:
zeaslity
2025-03-27 23:26:39 +08:00
parent 7dabce3fa5
commit c2ca7eb6d7
25 changed files with 157 additions and 1414 deletions

View File

@@ -285,10 +285,10 @@ func installXray() {
}
// 添加执行权限
os.Chmod("/tmp/install-release.sh", 0777)
utils.PermissionFileExecute("/tmp/install-release.sh")
// 执行安装脚本
ok, resultLog := op.SingleLineCommandExecutor([]string{"/bin/bash", "/tmp/install-release.sh", "-u", "root", "install"})
ok, resultLog := op.RealTimeCommandExecutor([]string{"/bin/bash", "/tmp/install-release.sh", "-u", "root", "install"})
if !ok {
log.Error("Install Xray failed ! error is %s", resultLog)
return