Skip to content

Commit 003d1f6

Browse files
MatthewWilkestomsci
authored andcommitted
create /apps if missing
1 parent d2b921e commit 003d1f6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

modules/boot.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import os
2+
13
import tidal
24
import tidal_helpers
35
from esp32 import Partition
@@ -22,6 +24,11 @@
2224
from app_launcher import Launcher
2325
menu = Launcher()
2426

27+
try:
28+
os.mkdir("/apps")
29+
except OSError:
30+
pass
31+
2532
# If we've made it to here, any OTA update has _probably_ gone ok...
2633
Partition.mark_app_valid_cancel_rollback()
2734

0 commit comments

Comments
 (0)