This commit is contained in:
Kukks
2023-01-17 14:29:22 +01:00
parent ac9e07429e
commit 8906073e92
20 changed files with 32 additions and 100 deletions

View File

@@ -14,15 +14,10 @@ namespace BTCPayServer.Plugins.LiquidPlus
{
public class LiquidPlusPlugin : BaseBTCPayServerPlugin
{
public override string Identifier { get; } = "BTCPayServer.Plugins.LiquidPlus";
public override string Name { get; } = "Liquid+";
public override IBTCPayServerPlugin.PluginDependency[] Dependencies { get; } =
{
new IBTCPayServerPlugin.PluginDependency() { Identifier = nameof(BTCPayServer), Condition = ">=1.7.0.0" }
new() { Identifier = nameof(BTCPayServer), Condition = ">=1.7.4" }
};
public override string Description { get; } = "Enhanced support for the liquid network.";
public override void Execute(IServiceCollection services)
{
services.AddSingleton<IUIExtension>(new UIExtension("LiquidNav", "store-integrations-nav"));