aboutsummaryrefslogtreecommitdiff
path: root/primedev/mods
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2024-07-10 15:13:52 +0200
committerGitHub <noreply@github.com>2024-07-10 15:13:52 +0200
commit2cd78297274e1173d64f8f6e78383bfd6da88c7e (patch)
treeb7ea49db5ba672e125fc7cc5dacff66db4c3dc45 /primedev/mods
parentacdfefdc335d5c7817c52986103d0ef2ce522ec9 (diff)
downloadNorthstarLauncher-2cd78297274e1173d64f8f6e78383bfd6da88c7e.tar.gz
NorthstarLauncher-2cd78297274e1173d64f8f6e78383bfd6da88c7e.zip
Define `fs` alias in source file where used (#747)v1.26.4-rc2v1.26.4-rc1v1.26.3-rc3v1.26.3-rc2v1.26.3
for filesystem namespace instead of relying on implicit include Co-authored-by: Jan <sentrycraft123@gmail.com>
Diffstat (limited to 'primedev/mods')
-rw-r--r--primedev/mods/autodownload/moddownloader.h2
-rw-r--r--primedev/mods/modmanager.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/primedev/mods/autodownload/moddownloader.h b/primedev/mods/autodownload/moddownloader.h
index 10df39ce..0d851e2f 100644
--- a/primedev/mods/autodownload/moddownloader.h
+++ b/primedev/mods/autodownload/moddownloader.h
@@ -1,3 +1,5 @@
+namespace fs = std::filesystem;
+
class ModDownloader
{
private:
diff --git a/primedev/mods/modmanager.h b/primedev/mods/modmanager.h
index 233f004d..95a8fe12 100644
--- a/primedev/mods/modmanager.h
+++ b/primedev/mods/modmanager.h
@@ -9,6 +9,8 @@
#include <filesystem>
#include <unordered_set>
+namespace fs = std::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";