mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-04 06:31:13 +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. |
||
|---|---|---|
| .. | ||
| action | ||
| api | ||
| config | ||
| event | ||
| helper | ||
| network | ||
| types | ||
| index.ts | ||
| package.json | ||
| tsconfig.json | ||