diff --git a/applications/system/updater/util/update_task_worker_backup.c b/applications/system/updater/util/update_task_worker_backup.c index 50d54cf14..3e249bf9f 100644 --- a/applications/system/updater/util/update_task_worker_backup.c +++ b/applications/system/updater/util/update_task_worker_backup.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include @@ -165,6 +166,13 @@ static bool update_task_post_update(UpdateTask* update_task) { CHECK_RESULT(lfs_backup_unpack(update_task->storage, furi_string_get_cstr(file_path))); +#ifdef FURI_NDEBUG + // Production + // Currently no expansion modules exist, disable listening on UART + storage_common_remove(update_task->storage, EXPANSION_SETTINGS_OLD_PATH); + storage_common_remove(update_task->storage, EXPANSION_SETTINGS_PATH); +#endif + if(update_task->state.groups & UpdateTaskStageGroupResources) { TarUnpackProgress progress = { .update_task = update_task, diff --git a/furi/flipper.c b/furi/flipper.c index 9bb9f7a72..e0119aa89 100644 --- a/furi/flipper.c +++ b/furi/flipper.c @@ -66,8 +66,8 @@ void flipper_migrate_files() { storage_common_remove(storage, POWER_SETTINGS_OLD_PATH); storage_common_copy(storage, BT_KEYS_STORAGE_OLD_PATH, BT_KEYS_STORAGE_PATH); storage_common_remove(storage, BT_KEYS_STORAGE_OLD_PATH); - storage_common_copy(storage, EXPANSION_SETTINGS_OLD_PATH, EXPANSION_SETTINGS_PATH); - storage_common_remove(storage, EXPANSION_SETTINGS_OLD_PATH); + // storage_common_copy(storage, EXPANSION_SETTINGS_OLD_PATH, EXPANSION_SETTINGS_PATH); // Reset on install for now + // storage_common_remove(storage, EXPANSION_SETTINGS_OLD_PATH); // storage_common_copy(storage, NOTIFICATION_SETTINGS_OLD_PATH, NOTIFICATION_SETTINGS_PATH); // Not compatible anyway storage_common_remove(storage, NOTIFICATION_SETTINGS_OLD_PATH); // Ext -> Int