mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-29 11:26:25 -05:00
Adding linux appimage to mimetype icons.
This commit is contained in:
parent
399cb0f107
commit
5934c40a59
1 changed files with 2 additions and 0 deletions
|
|
@ -954,6 +954,8 @@ export function mimetypeIconName(mimetype, lowerPath = '') {
|
|||
return 'file word';
|
||||
} else if (mimetype.startsWith('application/x-x509-ca-cert')) {
|
||||
return 'certificate';
|
||||
} else if (mimetype.startsWith('application/x-pie-executable')) {
|
||||
return 'linux';
|
||||
} else if (mimetype.startsWith('application/octet-stream')) {
|
||||
if (lowerPath.endsWith('.mp3')) {
|
||||
return 'file audio';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue