Skip to content

Commit

Permalink
create /apps if missing
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewWilkes authored and tomsci committed Jun 3, 2022
1 parent d2b921e commit 003d1f6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/boot.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import os

import tidal
import tidal_helpers
from esp32 import Partition
Expand All @@ -22,6 +24,11 @@
from app_launcher import Launcher
menu = Launcher()

try:
os.mkdir("/apps")
except OSError:
pass

# If we've made it to here, any OTA update has _probably_ gone ok...
Partition.mark_app_valid_cancel_rollback()

Expand Down

0 comments on commit 003d1f6

Please sign in to comment.