mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-04 14:41:14 +00:00
Change plugin loader to treat plugins as disabled by default (unless the id/dir is 'napcat-plugin-builtin') by using nullish coalescing when reading statusConfig. Add an early-return guard in the plugin manager/adapter that logs and skips loading when entry.enable is false. This prevents disabled plugins from being loaded automatically and provides a clear log message when skipped. |
||
|---|---|---|
| .. | ||
| config.ts | ||
| index.ts | ||
| loader.ts | ||
| manager.ts | ||
| router-registry.ts | ||
| types.ts | ||