mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-05 07:01:16 +00:00
Replace disk-based zip handling with in-memory streaming to avoid temp files: remove unzipper/@types(unzipper) deps from package.json; update BackupConfig to stream-export configs with compressing.zip.Stream and to import by extracting uploaded zip buffer via compressing.zip.UncompressStream into in-memory Buffers. Backup of existing config is kept in-memory instead of copying to tmp, and imported files are written with path normalization checks. Router changed to use multer.memoryStorage() for uploads (remove dynamic tmp/disk upload logic and uploadSizeLimit usage). Also remove uploadSizeLimit from config schema. |
||
|---|---|---|
| .. | ||
| Auth.ts | ||
| BackupConfig.ts | ||
| BaseInfo.ts | ||
| Debug.ts | ||
| File.ts | ||
| Log.ts | ||
| Mirror.ts | ||
| OB11Config.ts | ||
| Plugin.ts | ||
| PluginStore.ts | ||
| Process.ts | ||
| Proxy.ts | ||
| QQLogin.ts | ||
| Status.ts | ||
| UpdateNapCat.ts | ||
| WebUIConfig.ts | ||