mirror of
https://github.com/ALLFATHER-BV/wadamesh.git
synced 2026-10-09 07:17:32 +00:00
lua: SD adoption migrates /apps too (mkdir the FAT parent so the copies succeed)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
1a1fc0f260
commit
f7a550685c
@@ -217,6 +217,7 @@ bool meshcomodMigrateSpiffsToSd(bool force) {
|
||||
SD.mkdir("/meshcomod/lock");
|
||||
SD.mkdir("/meshcomod/msgs"); // chat segments: SPIFFS names them flat ("/msgs/seg_*.bin"),
|
||||
// but the FAT card needs the real parent dir or every copy fails
|
||||
SD.mkdir("/meshcomod/apps"); // Lua apps installed to internal storage before a card existed
|
||||
bool identity_ok = false;
|
||||
int copied = 0, failed = 0;
|
||||
static uint8_t buf[4096];
|
||||
|
||||
Reference in New Issue
Block a user