mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-26 02:04:37 +08:00
sqlite-vec loads its native .dylib/.dll/.so via require.resolve(), which in a packaged Electron app resolves to a path inside app.asar where native extensions cannot be loaded. Adds sqlite-vec* to asarUnpack so the extension lands in app.asar.unpacked and require.resolve() returns the correct path. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>