Merge pull request #953 from akimdi/master

added support ico format
This commit is contained in:
Piña Colada 2021-04-20 06:35:15 +05:30 committed by GitHub
commit cd070a6228
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ abspath() {
listimages() {
find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \
'.*\(jpe?g\|bmp\|webp\|svg\|png\|gif\)$' -print0 | sort -z
'.*\(jpe?g\|bmp\|webp\|ico\|svg\|png\|gif\)$' -print0 | sort -z
}
view_dir() {

View file

@ -267,7 +267,7 @@ abspath() {
listimages() {
find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \
'.*\(jpe?g\|bmp\|webp\|svg\|png\|gif\)$' -print0 | sort -z
'.*\(jpe?g\|bmp\|webp\|ico\|svg\|png\|gif\)$' -print0 | sort -z
}
load_dir() {