mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Check if directory exist first on directorySettings.
Also update Screenshots + ReadMe.
This commit is contained in:
@@ -161,6 +161,8 @@ std::vector<UniStoreInfo> GetUniStoreInfo(const std::string &path) {
|
||||
std::vector<UniStoreInfo> info;
|
||||
std::vector<DirEntry> dirContents;
|
||||
|
||||
if (access(path.c_str(), F_OK) != 0) return {}; // Folder does not exist.
|
||||
|
||||
chdir(path.c_str());
|
||||
getDirectoryContents(dirContents, { "unistore" });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user