feat: 添加打包,修复bug

This commit is contained in:
chenxiangtong
2026-05-28 20:13:57 +08:00
parent 3927010bb9
commit b5ab610893
9 changed files with 95 additions and 9 deletions

View File

@@ -326,6 +326,11 @@ func describeAction(a Action, idx, total int) string {
return subtleStyle.Render(fmt.Sprintf("%s 复制 %s -> %s ...", prefix, a.Path, a.NewPath))
case "move":
return subtleStyle.Render(fmt.Sprintf("%s 移动 %s -> %s ...", prefix, a.Path, a.NewPath))
case "new":
if a.IsDir {
return subtleStyle.Render(fmt.Sprintf("%s 新建文件夹 %s ...", prefix, a.Path))
}
return subtleStyle.Render(fmt.Sprintf("%s 新建文件 %s ...", prefix, a.Path))
default:
return subtleStyle.Render(fmt.Sprintf("%s %s %s ...", prefix, a.Type, a.Path))
}