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.
11 lines
298 B
C#
11 lines
298 B
C#
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);
|
|
}
|
|
}
|