From 2d57c5d0ce5fffdf99e84fb5be6a24c9b1eed708 Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Fri, 5 Jul 2024 21:17:07 +0200 Subject: refactor: Rename const for legacy thunderstore mod string --- primedev/mods/modmanager.cpp | 2 +- primedev/mods/modmanager.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/primedev/mods/modmanager.cpp b/primedev/mods/modmanager.cpp index 90f54449..f0ddb0f5 100644 --- a/primedev/mods/modmanager.cpp +++ b/primedev/mods/modmanager.cpp @@ -1143,7 +1143,7 @@ fs::path GetManualModFolderPath() } fs::path GetThunderstoreLegacyModFolderPath() { - return fs::path(GetNorthstarPrefix() + THUNDERSTORE_MOD_FOLDER_SUFFIX); + return fs::path(GetNorthstarPrefix() + THUNDERSTORE_LEGACY_MOD_FOLDER_SUFFIX); } fs::path GetRemoteModFolderPath() { diff --git a/primedev/mods/modmanager.h b/primedev/mods/modmanager.h index 517b33a7..5f6d07e7 100644 --- a/primedev/mods/modmanager.h +++ b/primedev/mods/modmanager.h @@ -11,7 +11,7 @@ const std::string CORE_MOD_FOLDER_SUFFIX = "\\mods\\core"; const std::string MANUAL_MOD_FOLDER_SUFFIX = "\\mods\\manual"; -const std::string THUNDERSTORE_MOD_FOLDER_SUFFIX = "\\mods\\thunderstore-legacy"; +const std::string THUNDERSTORE_LEGACY_MOD_FOLDER_SUFFIX = "\\mods\\thunderstore-legacy"; const std::string REMOTE_MOD_FOLDER_SUFFIX = "\\runtime\\remote\\mods"; const fs::path MOD_OVERRIDE_DIR = "mod"; const std::string COMPILED_ASSETS_SUFFIX = "\\runtime\\compiled"; -- cgit v1.2.3