This commit is contained in:
Aleksi Lassila
2025-02-13 18:28:48 +02:00
parent 715a7f9c7b
commit b67b2298e8
3 changed files with 6 additions and 2 deletions

View File

@@ -13,6 +13,10 @@ export class SourceProvidersService {
private providers: Record<string, SourceProvider> = {};
constructor() {
this.logger.log(
'Using Reiverr plugin API version ' + getReiverrPluginVersion(),
);
this.providers = {
...this.loadPlugins(path.join(require.main.path, '..', '..', 'packages')),
...this.loadPlugins(path.join(require.main.path, '..', '..', 'plugins')),