Skip to content

Commit

Permalink
Update launcher.py
Browse files Browse the repository at this point in the history
Fixed launcher listing /examples when APP_DIR has been changed.
  • Loading branch information
rwky authored Jul 4, 2024
1 parent 9e67d95 commit f970bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion badger_os/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

badger_os.state_load("launcher", state)

examples = [x[:-3] for x in os.listdir("/examples") if x.endswith(".py")]
examples = [x[:-3] for x in os.listdir(APP_DIR) if x.endswith(".py")]

# Approximate center lines for buttons A, B and C
centers = (41, 147, 253)
Expand Down

0 comments on commit f970bd6

Please sign in to comment.