mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 19:02:03 +00:00
fix: handle missing backend extension list
This commit is contained in:
@@ -225,7 +225,8 @@ class Utilities:
|
|||||||
folders.append({"file": file, "filest": filest, "is_dir": True})
|
folders.append({"file": file, "filest": filest, "is_dir": True})
|
||||||
elif include_files:
|
elif include_files:
|
||||||
# Handle requested extensions if present
|
# Handle requested extensions if present
|
||||||
if 'all_files' in include_ext or splitext(file.name)[1].lstrip('.') in include_ext:
|
if len(include_ext) == 0 or 'all_files' in include_ext \
|
||||||
|
or splitext(file.name)[1].lstrip('.') in include_ext:
|
||||||
if (is_hidden and include_hidden) or not is_hidden:
|
if (is_hidden and include_hidden) or not is_hidden:
|
||||||
files.append({"file": file, "filest": filest, "is_dir": False})
|
files.append({"file": file, "filest": filest, "is_dir": False})
|
||||||
# Filter logic
|
# Filter logic
|
||||||
|
|||||||
Reference in New Issue
Block a user