fix(#445): bundle native-assets DLLs (sqlite3, llamadart) into desktop builds
Clean Windows builds (incl. CI) shipped no sqlite3.dll, so drift could not open
its database ("Message storage unavailable"), and the llamadart translation libs
were stranded too. Root cause: the project moved to sqlite3 v3.x, which delivers
its native lib via Dart native assets, but (a) native assets was not enabled in
CI and (b) the stock windows/CMakeLists.txt guards the native-assets install
with a configure-time `if(EXISTS)` that is false on a clean build (native assets
are built AFTER cmake configures), so the install was silently skipped. Dev
machines only worked via leftover DLLs from prior builds.
Fixes:
- windows/CMakeLists.txt: defer the native-assets copy to install time (matches
Linux's unconditional install), so a clean build bundles build/native_assets/
windows/*.dll into the runner Release dir.
- build.yml + release-signed.yml: enable native assets (flutter config
--enable-native-assets) in the windows/linux/macos jobs before build.
Verified on a clean local Windows build: Release now contains sqlite3.dll plus
the llama/ggml/mtmd set. Android (Gradle-delivered .so) and web (wasm) unchanged.
Citadel: meshcore-open-mkl
pull/450/head
parent
6480034a63
commit
f6ed3613eb
Loading…
Reference in new issue