mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-10 05:59:08 -07:00
Revert "Embed assets in elf file (#2466)"
This reverts commit 4fd043398a.
This commit is contained in:
@@ -454,7 +454,7 @@ void storage_process_alias(
|
||||
FuriString* apps_data_path_with_appsid = furi_string_alloc_set(APPS_DATA_PATH "/");
|
||||
furi_string_cat(apps_data_path_with_appsid, furi_thread_get_appid(thread_id));
|
||||
|
||||
// "/data" -> "/ext/apps_data/appsid"
|
||||
// "/app" -> "/ext/apps_data/appsid"
|
||||
furi_string_replace_at(
|
||||
path,
|
||||
0,
|
||||
@@ -472,18 +472,6 @@ void storage_process_alias(
|
||||
}
|
||||
|
||||
furi_string_free(apps_data_path_with_appsid);
|
||||
} else if(furi_string_start_with(path, STORAGE_APP_ASSETS_PATH_PREFIX)) {
|
||||
FuriString* apps_assets_path_with_appsid = furi_string_alloc_set(APPS_ASSETS_PATH "/");
|
||||
furi_string_cat(apps_assets_path_with_appsid, furi_thread_get_appid(thread_id));
|
||||
|
||||
// "/assets" -> "/ext/apps_assets/appsid"
|
||||
furi_string_replace_at(
|
||||
path,
|
||||
0,
|
||||
strlen(STORAGE_APP_ASSETS_PATH_PREFIX),
|
||||
furi_string_get_cstr(apps_assets_path_with_appsid));
|
||||
|
||||
furi_string_free(apps_assets_path_with_appsid);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user