List apps on sd

This commit is contained in:
Cooper Dalrymple 2025-08-26 09:55:08 -05:00
parent 35583bf004
commit 35427b0db6

View file

@ -175,13 +175,20 @@ scaled_group.append(menu_title_txt)
app_titles = []
apps = []
app_path = pathlib.Path("/apps")
app_paths = (
pathlib.Path("/apps"),
pathlib.Path("/sd/apps")
)
pages = [{}]
cur_file_index = 0
for path in app_path.iterdir():
for app_path in app_paths:
if not app_path.exists():
continue
for path in app_path.iterdir():
print(path)
code_file = path / "code.py"