aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/mods/modmanager.h
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-07-16 21:23:50 +0200
committerGitHub <noreply@github.com>2023-07-16 21:23:50 +0200
commit0309af134ef01e0074057e0580c8155028998fcf (patch)
tree4f74e4321b5a5b2170762da6c86e4cdd18d0a3d6 /NorthstarDLL/mods/modmanager.h
parent9f9e3a906f2792ee518c7d9910d70607469f80ae (diff)
downloadNorthstarLauncher-0309af134ef01e0074057e0580c8155028998fcf.tar.gz
NorthstarLauncher-0309af134ef01e0074057e0580c8155028998fcf.zip
Add support for loading Thunderstore mods natively (#503)
Allows for loading Thunderstore mods directly from a separate directory called `packages`.
Diffstat (limited to 'NorthstarDLL/mods/modmanager.h')
-rw-r--r--NorthstarDLL/mods/modmanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDLL/mods/modmanager.h b/NorthstarDLL/mods/modmanager.h
index 33f4ceac..6f89f9f2 100644
--- a/NorthstarDLL/mods/modmanager.h
+++ b/NorthstarDLL/mods/modmanager.h
@@ -9,6 +9,7 @@
#include <filesystem>
const std::string MOD_FOLDER_SUFFIX = "/mods";
+const std::string THUNDERSTORE_MOD_FOLDER_SUFFIX = "/packages";
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";
@@ -176,6 +177,7 @@ class ModManager
fs::path GetModFolderPath();
fs::path GetRemoteModFolderPath();
+fs::path GetThunderstoreModFolderPath();
fs::path GetCompiledAssetsPath();
extern ModManager* g_pModManager;