mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-21 22:54:37 -04:00
add config menu and hook it up into current config system
currently any options that requires additional settings, like "Hyrule Barrier Requirements", wont actually have any additional options yet until i figure out a clean way to handle that
This commit is contained in:
@@ -60,10 +60,14 @@ namespace dusk {
|
||||
|
||||
std::list<std::string> hashes{};
|
||||
|
||||
for (const auto& entry : std::filesystem::directory_iterator(seedDirectory)) {
|
||||
if (entry.is_directory()) {
|
||||
hashes.push_back(entry.path().filename().string());
|
||||
if (std::filesystem::exists(seedDirectory)) {
|
||||
for (const auto& entry : std::filesystem::directory_iterator(seedDirectory)) {
|
||||
if (entry.is_directory()) {
|
||||
hashes.push_back(entry.path().filename().string());
|
||||
}
|
||||
}
|
||||
}else {
|
||||
std::filesystem::create_directories(seedDirectory);
|
||||
}
|
||||
|
||||
if (hashes.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user