Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
Fix evil portal html path
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Aug 31, 2023
1 parent 8c922bc commit 14e6768
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions applications/external/evil_portal/evil_portal_app_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
#define SET_AP_CMD "setap"
#define RESET_CMD "reset"

#define HTML_EXTENSION ".html"
#define HTML_FOLDER APP_DATA_PATH("html")

struct Evil_PortalApp {
Gui* gui;
ViewDispatcher* view_dispatcher;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
#include <string.h>

#define PORTAL_FILE_DIRECTORY_PATH EXT_PATH("apps_data/evil_portal")
#define HTML_EXTENSION ".html"
#define HTML_FOLDER PORTAL_FILE_DIRECTORY_PATH "/html"
#define EVIL_PORTAL_INDEX_SAVE_PATH PORTAL_FILE_DIRECTORY_PATH "/index.html"
#define EVIL_PORTAL_INDEX_DEFAULT_PATH PORTAL_FILE_DIRECTORY_PATH "/html/xtreme.html"
#define EVIL_PORTAL_INDEX_DEFAULT_PATH HTML_FOLDER "/xtreme.html"
#define EVIL_PORTAL_AP_SAVE_PATH PORTAL_FILE_DIRECTORY_PATH "/ap.config.txt"
#define EVIL_PORTAL_LOG_SAVE_PATH PORTAL_FILE_DIRECTORY_PATH "/logs"

Expand Down
1 change: 0 additions & 1 deletion assets/resources/apps_data/evil_portal/ap.config.txt

This file was deleted.

0 comments on commit 14e6768

Please sign in to comment.