diff --git a/applications/system/updater/util/update_task_worker_backup.c b/applications/system/updater/util/update_task_worker_backup.c index 95d9306b9..f817ea013 100644 --- a/applications/system/updater/util/update_task_worker_backup.c +++ b/applications/system/updater/util/update_task_worker_backup.c @@ -13,7 +13,7 @@ #include #include -#define FIRSTBOOT_FLAG_PATH CFG_PATH("firstboot.flag") +#define FIRSTBOOT_FLAG_PATH CFG_PATH("momentum_firstboot.flag") #define TAG "UpdWorkerBackup" @@ -205,6 +205,10 @@ static bool update_task_post_update(UpdateTask* update_task) { update_task_set_progress(update_task, UpdateTaskStageSplashscreenInstall, 0); FuriString* tmp_path; tmp_path = furi_string_alloc_set(update_task->update_path); + storage_common_rename( + update_task->storage, + CFG_PATH("firstboot.flag"), // Poor naming, shouldn't be generic for all FW + FIRSTBOOT_FLAG_PATH); if(storage_common_stat(update_task->storage, FIRSTBOOT_FLAG_PATH, NULL) == FSE_NOT_EXIST) { File* file = storage_file_alloc(update_task->storage);