Add zipx, kgb, pea, xz and zz archive formats.

This commit is contained in:
Azareal 2019-11-01 09:34:50 +10:00
parent f227aadb6d
commit bffb095b57
1 changed files with 3 additions and 3 deletions

View File

@ -65,16 +65,16 @@ var AllowedFileExts = StringList{
"otf", "woff2", "woff", "ttf", "eot", // fonts
"bz2", "zip", "gz", "7z", "tar", "cab","rar", // archives
"bz2", "zip", "zipx", "gz", "7z", "tar", "cab", "rar", "kgb", "pea", "xz", "zz", // archives
}
var ImageFileExts = StringList{
"png", "jpg", "jpe","jpeg","jif","jfi","jfif", "svg", "bmp", "gif", "tiff","tif", "webp", /* "apng",*/
}
var ArchiveFileExts = StringList{
"bz2", "zip", "gz", "7z", "tar", "cab","rar",
"bz2", "zip", "zipx", "gz", "7z", "tar", "cab", "rar", "kgb", "pea", "xz", "zz",
}
var ExecutableFileExts = StringList{
"exe", "jar", "phar", "shar", "iso",
"exe", "jar", "phar", "shar", "iso", "apk", "deb",
}
func init() {