diff --git a/README.md b/README.md index 5e37a67..59c1927 100644 --- a/README.md +++ b/README.md @@ -37,13 +37,13 @@ To build Universal-Updater from source, you will need to setup devkitARM with li
Screenshots -![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/Credits.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/DirectorySelection.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/DownloadList.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/EntryInfo.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/LanguageSelection.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/ListStyle.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/MarkMenu.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/SearchMenu.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/SettingsMenu.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/SortMenu.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/StoreSelection.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/ToggleMenu.png) +![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/Credits.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/DirectorySelection.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/DownloadList.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/EntryInfo.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/LanguageSelection.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/ListStyle.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/MarkMenu.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/SearchMenu.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/SettingsMenu.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/SortMenu.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/StoreSelection.png) ![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/AutoUpdateSettings.png)![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/DirectorySettings.png)![](https://github.com/Universal-Team/Universal-Updater/blob/master/screenshots/GUISettings.png)
## Credits -- [StackZ](https://github.com/SuperSaiyajinStackZ) - Lead developer, reworked quirc to C++ +- [SuperSaiyajinStackZ](https://github.com/SuperSaiyajinStackZ) - Lead developer, reworked quirc to C++ - [Pk11](https://github.com/Epicpkmn11) - Mockup Designer, Website Maintainer - [NightScript](https://github.com/NightYoshi370) - Concept Creator & Planner - [dlbeer](https://github.com/dlbeer) - Original developer of [quirc](https://github.com/dlbeer/quirc) diff --git a/screenshots/AutoUpdateSettings.png b/screenshots/AutoUpdateSettings.png new file mode 100644 index 0000000..9285339 Binary files /dev/null and b/screenshots/AutoUpdateSettings.png differ diff --git a/screenshots/Credits.png b/screenshots/Credits.png index e6f89f1..467bad0 100644 Binary files a/screenshots/Credits.png and b/screenshots/Credits.png differ diff --git a/screenshots/DirectorySettings.png b/screenshots/DirectorySettings.png new file mode 100644 index 0000000..441b544 Binary files /dev/null and b/screenshots/DirectorySettings.png differ diff --git a/screenshots/DownloadList.png b/screenshots/DownloadList.png index aa6dd00..7f9f20e 100644 Binary files a/screenshots/DownloadList.png and b/screenshots/DownloadList.png differ diff --git a/screenshots/GUISettings.png b/screenshots/GUISettings.png new file mode 100644 index 0000000..f00c4ce Binary files /dev/null and b/screenshots/GUISettings.png differ diff --git a/screenshots/ListStyle.png b/screenshots/ListStyle.png index b7b3fc0..a7f9606 100644 Binary files a/screenshots/ListStyle.png and b/screenshots/ListStyle.png differ diff --git a/screenshots/SearchMenu.png b/screenshots/SearchMenu.png index aae78d6..1ebb674 100644 Binary files a/screenshots/SearchMenu.png and b/screenshots/SearchMenu.png differ diff --git a/screenshots/SettingsMenu.png b/screenshots/SettingsMenu.png index 0e655e9..5987b0c 100644 Binary files a/screenshots/SettingsMenu.png and b/screenshots/SettingsMenu.png differ diff --git a/screenshots/SortMenu.png b/screenshots/SortMenu.png index 7f7e84b..9e49efc 100644 Binary files a/screenshots/SortMenu.png and b/screenshots/SortMenu.png differ diff --git a/screenshots/ToggleMenu.png b/screenshots/ToggleMenu.png deleted file mode 100644 index 28d324e..0000000 Binary files a/screenshots/ToggleMenu.png and /dev/null differ diff --git a/source/overlays/dirSelect.cpp b/source/overlays/dirSelect.cpp index 1e0d471..378bd58 100644 --- a/source/overlays/dirSelect.cpp +++ b/source/overlays/dirSelect.cpp @@ -53,7 +53,16 @@ std::string Overlays::SelectDir(const std::string &oldDir, const std::string &ms dirChanged = false; dirContents.clear(); - chdir(oldDir.c_str()); + + /* Make sure. */ + if (access(oldDir.c_str(), F_OK) == 0) { + chdir(oldDir.c_str()); + + } else { + currentPath = "sdmc:/"; + chdir("sdmc:/"); + } + std::vector dirContentsTemp; getDirectoryContents(dirContentsTemp, {"/"}); diff --git a/source/utils/fileBrowse.cpp b/source/utils/fileBrowse.cpp index f71d34a..2d6dc52 100644 --- a/source/utils/fileBrowse.cpp +++ b/source/utils/fileBrowse.cpp @@ -161,6 +161,8 @@ std::vector GetUniStoreInfo(const std::string &path) { std::vector info; std::vector dirContents; + if (access(path.c_str(), F_OK) != 0) return {}; // Folder does not exist. + chdir(path.c_str()); getDirectoryContents(dirContents, { "unistore" });