2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 17:17:13 +08:00

fix: test

This commit is contained in:
耗子
2024-10-28 01:25:22 +08:00
parent 2d7faaa653
commit 036e01795e

View File

@@ -44,6 +44,7 @@ func Compress(dir string, src []string, dst string) error {
switch format {
case Zip:
cmd = exec.Command("zip", append([]string{"-qr", "-o", dst}, src...)...)
debug.Dump(append([]string{"-qr", "-o", dst}, src...))
case Gz:
cmd = exec.Command("tar", append([]string{"-czf", dst}, src...)...)
case Bz2: