Skip to content

Commit

Permalink
file tree: added dedicated icon for linux kernel image files
Browse files Browse the repository at this point in the history
  • Loading branch information
jstucke authored and maringuu committed Aug 1, 2024
1 parent e6f63bd commit f91f817
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/install/frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def _copy_mime_icons():
('places/folder-brown.svg', 'folder.svg'),
('status/dialog-error.svg', 'not_analyzed.svg'),
('emblems/emblem-symbolic-link.svg', 'mimetypes/inode-symlink.svg'),
('apps/tux.svg', 'linux.svg'),
]:
run_cmd_with_logging(f'cp -rL {ICON_THEME_INSTALL_PATH / source} {MIME_ICON_DIR / target}')

Expand Down
1 change: 1 addition & 0 deletions src/web_interface/file_tree/file_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
'image/': f'/{ICON_URL_BASE}/mimetypes/image-x-generic.svg',
'text/': f'/{ICON_URL_BASE}/mimetypes/text-x-generic.svg',
'video/': f'/{ICON_URL_BASE}/mimetypes/video-x-generic.svg',
'linux/': f'/{ICON_URL_BASE}/linux.svg',
}


Expand Down

0 comments on commit f91f817

Please sign in to comment.