feat: 添加打包,修复bug
This commit is contained in:
5
pages.go
5
pages.go
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user