mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-14 02:08:36 -07:00
Fix slideshow when previous firmware left it
This commit is contained in:
@@ -222,11 +222,9 @@ static bool update_task_post_update(UpdateTask* update_task) {
|
|||||||
} else {
|
} else {
|
||||||
path_append(tmp_path, furi_string_get_cstr(update_task->manifest->splash_file));
|
path_append(tmp_path, furi_string_get_cstr(update_task->manifest->splash_file));
|
||||||
}
|
}
|
||||||
if(storage_common_copy(
|
storage_common_remove(update_task->storage, SLIDESHOW_FS_PATH); // Overwrite if exists
|
||||||
update_task->storage, furi_string_get_cstr(tmp_path), SLIDESHOW_FS_PATH) !=
|
storage_common_copy(
|
||||||
FSE_OK) {
|
update_task->storage, furi_string_get_cstr(tmp_path), SLIDESHOW_FS_PATH);
|
||||||
// actually, not critical
|
|
||||||
}
|
|
||||||
furi_string_free(tmp_path);
|
furi_string_free(tmp_path);
|
||||||
update_task_set_progress(update_task, UpdateTaskStageSplashscreenInstall, 100);
|
update_task_set_progress(update_task, UpdateTaskStageSplashscreenInstall, 100);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user