Check if directory exist first on directorySettings.

Also update Screenshots + ReadMe.
This commit is contained in:
StackZ
2020-11-01 11:53:50 +01:00
parent a2f3efc640
commit 06706e00c7
13 changed files with 14 additions and 3 deletions
+2
View File
@@ -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" });