Skip to content

Commit

Permalink
Changed Plugin directory name from "Plugins" to "Mods" to reduce conf…
Browse files Browse the repository at this point in the history
…usion of users.
  • Loading branch information
DragonFire47 committed May 28, 2021
1 parent 208841a commit 524f900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PulsarInjector/Injector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static void Main(string[] args)
var libdir = Directory.CreateDirectory(Path.Combine(Path.GetDirectoryName(targetAssemblyPath), "Libraries"));
Directory.CreateDirectory(Path.Combine(libdir.FullName, "Unmanaged"));
Directory.CreateDirectory(Path.Combine(libdir.FullName, "Managed"));
Directory.CreateDirectory(Path.Combine(Path.GetDirectoryName(targetAssemblyPath), "Plugins"));
Directory.CreateDirectory(Path.Combine(Path.GetDirectoryName(targetAssemblyPath), "Mods"));

Logger.Info("=== Anti-Cheat ===");
AntiCheatBypass.Inject(targetAssemblyPath);
Expand Down
2 changes: 1 addition & 1 deletion PulsarPluginLoader/Patches/LoadPlugins.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static void Prefix()
string LibsDir = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "Libraries");
PluginManager.Instance.LoadLibrariesDirectory(LibsDir);

string pluginsDir = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "Plugins");
string pluginsDir = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "Mods");
PluginManager.Instance.LoadPluginsDirectory(pluginsDir);
pluginsLoaded = true;
}
Expand Down

0 comments on commit 524f900

Please sign in to comment.