Show 7zip contents on filesystem

This commit is contained in:
2024-11-14 22:35:34 +01:00
parent cac31a097a
commit 0a0f687044
2 changed files with 5 additions and 2 deletions

View File

@@ -237,7 +237,10 @@ export const fs_node_type = (node: FSNode) => {
return "dir"
} else if (node.file_type === "application/bittorrent" || node.file_type === "application/x-bittorrent") {
return "torrent"
} else if (node.file_type === "application/zip") {
} else if (
node.file_type === "application/zip" ||
node.file_type === "application/x-7z-compressed"
) {
return "zip"
} else if (node.file_type.startsWith("image")) {
return "image"