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

fix: 解压缩不支持.gz

This commit is contained in:
耗子
2025-01-05 19:53:19 +08:00
parent a573a6e44f
commit 48a49db67b

View File

@@ -123,7 +123,7 @@ func formatArchiveByPath(path string) (FormatArchive, error) {
return Bz2, nil
case ".tar":
return Tar, nil
case ".gz", ".tar.gz", ".tgz":
case ".tar.gz", ".tgz":
return TGz, nil
case ".xz":
return Xz, nil