aboutsummaryrefslogtreecommitdiff
path: root/primedev/mods/modmanager.cpp
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2024-07-05 00:19:18 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2024-07-05 00:19:18 +0200
commit1f0e8aaa4805db0298e5b6047b3c6628932a82fc (patch)
tree445e536e708455271e78a3a9efd46439b9ed3554 /primedev/mods/modmanager.cpp
parent3edcc91c72c96c33f8eae76a7078f78126bbea28 (diff)
downloadNorthstarLauncher-1f0e8aaa4805db0298e5b6047b3c6628932a82fc.tar.gz
NorthstarLauncher-1f0e8aaa4805db0298e5b6047b3c6628932a82fc.zip
wip: Change paths to load core and thunderstore mods from
Diffstat (limited to 'primedev/mods/modmanager.cpp')
-rw-r--r--primedev/mods/modmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/primedev/mods/modmanager.cpp b/primedev/mods/modmanager.cpp
index edf69c9f..38bf1dc7 100644
--- a/primedev/mods/modmanager.cpp
+++ b/primedev/mods/modmanager.cpp
@@ -616,7 +616,7 @@ void ModManager::LoadMods()
// ensure dirs exist
fs::remove_all(GetCompiledAssetsPath());
fs::create_directories(GetModFolderPath());
- fs::create_directories(GetThunderstoreModFolderPath());
+ fs::create_directories(GetThunderstoreLegacyModFolderPath());
fs::create_directories(GetRemoteModFolderPath());
m_DependencyConstants.clear();
@@ -640,7 +640,7 @@ void ModManager::LoadMods()
// get mod directories
std::filesystem::directory_iterator classicModsDir = fs::directory_iterator(GetModFolderPath());
std::filesystem::directory_iterator remoteModsDir = fs::directory_iterator(GetRemoteModFolderPath());
- std::filesystem::directory_iterator thunderstoreModsDir = fs::directory_iterator(GetThunderstoreModFolderPath());
+ std::filesystem::directory_iterator thunderstoreModsDir = fs::directory_iterator(GetThunderstoreLegacyModFolderPath());
for (fs::directory_entry dir : classicModsDir)
if (fs::exists(dir.path() / "mod.json"))
@@ -1131,7 +1131,7 @@ fs::path GetModFolderPath()
{
return fs::path(GetNorthstarPrefix() + MOD_FOLDER_SUFFIX);
}
-fs::path GetThunderstoreModFolderPath()
+fs::path GetThunderstoreLegacyModFolderPath()
{
return fs::path(GetNorthstarPrefix() + THUNDERSTORE_MOD_FOLDER_SUFFIX);
}