alist support .ts file show

This commit is contained in:
FongMi 2023-03-31 18:26:38 +08:00
parent 16a7df65e3
commit 730b297bb4
3 changed files with 2 additions and 1 deletions

View File

@ -99,6 +99,7 @@ public class Item {
}
public boolean ignore(boolean isNew) {
if (getName().endsWith(".ts")) return false;
if (isNew) return getType() == 0 || getType() == 4;
return getType() == 0 || getType() == 2 || getType() == 5;
}

Binary file not shown.

View File

@ -1 +1 @@
3b702732dd7f792513d3f3cf006f8898
a3a0d399cc8e9e4348060296e4cfab58