Introduce integrated package manager
This commit introduces an integrated package manager into TShock for the purpose of fetching and installing plugins and their dependencies from NuGet repositories. This makes getting new plugins easier for users, as well as simplifiying more advanced deployment scenarios.
This commit is contained in:
parent
4e59087e7c
commit
be8e51959f
13 changed files with 849 additions and 8 deletions
11
TShockPluginManager/I18n.cs
Normal file
11
TShockPluginManager/I18n.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
using GetText;
|
||||
|
||||
namespace TShockPluginManager
|
||||
{
|
||||
static class I18n
|
||||
{
|
||||
static string TranslationsDirectory => Path.Combine(AppContext.BaseDirectory, "i18n");
|
||||
// we share the same translations catalog as TShockAPI
|
||||
public static Catalog C = new Catalog("TShockAPI", TranslationsDirectory);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue