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. |
||
|---|---|---|
| .. | ||
| plugin | ||
| adapter.ts | ||
| http-client.ts | ||
| http-server-sse.ts | ||
| http-server.ts | ||
| index.ts | ||
| plugin-develop.ts | ||
| plugin-manger.ts | ||
| websocket-client.ts | ||
| websocket-server.ts | ||