feat: 文件工具添加文本输出函数,调整逐行

This commit is contained in:
TsMask committed 2025-05-20 11:44:09 +08:00
1 parent f011fb5153
commit 72c688e178
7 files changed
+48 -22

No files matched your search

@@ -178,6 +178,8 @@ func (r NeVersion) Operate(action string, neVersion model.NeVersion, preinput ma
if err != nil {
return "", err
}
// 将安装升级执行结果写入文件
file.WriterFileTXT(commandLine, fmt.Sprintf("/tmp/%s_%s.out", neVersion.NeType, action))
// ========= 完成阶段 =========
if strings.LastIndex(commandLine, okFlagStr) > 5 {