diff --git a/aiosu-forwarder/source/main.cpp b/aiosu-forwarder/source/main.cpp index dd07538..9fedc17 100644 --- a/aiosu-forwarder/source/main.cpp +++ b/aiosu-forwarder/source/main.cpp @@ -8,6 +8,8 @@ #define CONFIG_PATH "/config/aio-switch-updater/switch/aio-switch-updater/aio-switch-updater.nro" #define PREFIX "/switch/aio-switch-updater/aio-switch-updater-v" #define FORWARDER_PATH "/config/aio-switch-updater/aiosu-forwarder.nro" +#define CONFIG_SWITCH "/config/aio-switch-updater/switch/" +#define HIDDEN_FILE "/config/aio-switch-updater/.aio-switch-updater" int removeDir(const char* path) { @@ -28,12 +30,13 @@ int main(int argc, char* argv[]) std::filesystem::remove(entry.path().string() + ".star"); } } + std::filesystem::remove(HIDDEN_FILE); if(std::filesystem::exists(CONFIG_PATH)){ std::filesystem::create_directory(PATH); std::filesystem::remove(FULL_PATH); std::filesystem::rename(CONFIG_PATH, FULL_PATH); - removeDir("/config/aio-switch-updater/switch/"); + removeDir(CONFIG_SWITCH); } std::filesystem::remove(FORWARDER_PATH); diff --git a/source/download_cheats_page.cpp b/source/download_cheats_page.cpp index 26d3ea8..c9892f1 100644 --- a/source/download_cheats_page.cpp +++ b/source/download_cheats_page.cpp @@ -34,7 +34,7 @@ DownloadCheatsPage::DownloadCheatsPage(uint64_t tid) : AppletFrame(true, true) if(cheatsInfo.find("cheats") != cheatsInfo.end()) { for (const auto& p : cheatsInfo["cheats"].items()) { json cheat = p.value(); - listItem = new::brls::ToggleListItem(GetCheatsTitle(cheat), 0); + listItem = new::brls::ToggleListItem(GetCheatsTitle(cheat), 0, "", "\uE016", "o"); listItem->registerAction("menus/see_more"_i18n , brls::Key::Y, [this, cheat] { if(cheat.find("titles") != cheat.end()) { ShowCheatsContent(cheat["titles"]);