mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
parent
59d0cf666f
commit
4e56ef636b
@ -55,11 +55,14 @@ namespace BTCPayServer.Plugins
|
||||
continue;
|
||||
|
||||
}
|
||||
foreach (var btcPayServerPlugin in detectedPlugins)
|
||||
|
||||
detectedPlugins = detectedPlugins.Select(plugin =>
|
||||
{
|
||||
btcPayServerPlugin.SystemPlugin = true;
|
||||
loadedPlugins.Add((null,systemExtension, CreateEmbeddedFileProviderForAssembly(systemExtension)));
|
||||
}
|
||||
plugin.SystemPlugin = true;
|
||||
return plugin;
|
||||
});
|
||||
|
||||
loadedPlugins.Add((null,systemExtension, CreateEmbeddedFileProviderForAssembly(systemExtension)));
|
||||
plugins.AddRange(detectedPlugins);
|
||||
}
|
||||
var orderFilePath = Path.Combine(pluginsFolder, "order");
|
||||
|
Loading…
Reference in New Issue
Block a user