Show 7zip contents on filesystem
This commit is contained in:
@@ -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"
|
||||
|
@@ -17,7 +17,7 @@ export let hide_branding = false
|
||||
<td></td>
|
||||
<td>Name</td>
|
||||
<td>Size</td>
|
||||
<td>Actions</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
{#each $nav.children as child, index (child.path)}
|
||||
<a
|
||||
|
Reference in New Issue
Block a user