Fix evil portal file browser path

This commit is contained in:
Willy-JL
2023-07-20 15:34:04 +01:00
parent 3f2bf81de3
commit 34c07b9d21
2 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@
#define RESET_CMD "reset" #define RESET_CMD "reset"
#define EVIL_PORTAL_INDEX_EXTENSION ".html" #define EVIL_PORTAL_INDEX_EXTENSION ".html"
#define EVIL_PORTAL_BASE_FOLDER "/apps_data/evil_portal/" #define EVIL_PORTAL_BASE_FOLDER STORAGE_APP_DATA_PATH_PREFIX
struct Evil_PortalApp { struct Evil_PortalApp {
Gui* gui; Gui* gui;

View File

@@ -9,7 +9,7 @@ static void evil_portal_close_storage() {
} }
bool evil_portal_read_index_html(void* context) { bool evil_portal_read_index_html(void* context) {
FuriString* file_path = furi_string_alloc(); FuriString* file_path = furi_string_alloc_set(EVIL_PORTAL_BASE_FOLDER);
DialogsFileBrowserOptions browser_options; DialogsFileBrowserOptions browser_options;
dialog_file_browser_set_basic_options( dialog_file_browser_set_basic_options(