diff options
author | Jan <sentrycraft123@gmail.com> | 2023-07-29 22:48:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-29 22:48:24 +0200 |
commit | 0af8c500aecb2eca77996e9ef750589fceb7245b (patch) | |
tree | a308050a2fb9cb21d9c45dd96d8699a4117ce672 /NorthstarDLL/mods | |
parent | e3f2c4c6622c83ac561f7e4cbf8601c50469d291 (diff) | |
download | NorthstarLauncher-1.18.0-rc1.tar.gz NorthstarLauncher-1.18.0-rc1.zip |
Validate package pattern before checking for plugins (#525)v1.18.0-rc1v1.18.0
Adds missing validation check to ensure that the package folder the plugin is included in matches the `AUTHOR-MOD-VERSION` pattern.
Diffstat (limited to 'NorthstarDLL/mods')
-rw-r--r-- | NorthstarDLL/mods/modmanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/NorthstarDLL/mods/modmanager.cpp b/NorthstarDLL/mods/modmanager.cpp index bf63fc41..044ec6d4 100644 --- a/NorthstarDLL/mods/modmanager.cpp +++ b/NorthstarDLL/mods/modmanager.cpp @@ -16,6 +16,7 @@ #include <string> #include <sstream> #include <vector> +#include <regex> ModManager* g_pModManager; |