Skip to content

Bundle Windows runtime DLLs and bump ladybug to 0.20.4 - #24

Merged
adsharma merged 2 commits into
mainfrom
fix/windows-dlls-ladybug-0.20.4
Sep 24, 2026
Merged

adsharma merged 2 commits into
mainfrom
fix/windows-dlls-ladybug-0.20.4

Conversation

@adsharma

Copy link
Copy Markdown
Contributor

Fixes #23.

Windows MSI/NSIS installers were missing native runtime DLLs (lbug_shared.dll, arrow.dll, networkit_state.dll), so the installed app failed to start. Tauri v2 only ships the exe plus bundle.resources — DLLs next to the exe are not picked up automatically.

  • New scripts/stage_windows_dlls.sh collects lbug_shared.dll, networkit_state.dll (+ leiden extension DLLs), and arrow.dll (+ vcpkg transitive deps) into src-tauri/windows-dlls/
  • tauri.conf.json maps it via "resources": { "windows-dlls": "" } so both MSI and NSIS install the DLLs next to the exe (map-with-empty-target flattens to filenames; empty dir is skipped on macOS/Linux)
  • build.rs copies the DLLs next to the exe on Windows for cargo tauri dev
  • CI: new 'Stage Windows DLLs' step after vcpkg install
  • Bump: lbug 0.18.1 -> 0.20.4, icebug crate 13.0.0 -> 13.2.0 (prebuilt default 13.0 -> 13.2), app version -> 0.20.4

- Stage lbug_shared.dll, networkit_state.dll (+ extensions), and
  arrow.dll (+ vcpkg transitive deps) into src-tauri/windows-dlls/
  and ship them next to the exe via bundle.resources, fixing the
  missing-DLL startup failure on Windows (MSI + NSIS).
- build.rs copies the staged DLLs next to the exe for dev runs.
- Bump lbug 0.18.1 -> 0.20.4, icebug crate 13.0.0 -> 13.2.0
  (prebuilt default 13.0 -> 13.2), app version -> 0.20.4.

Fixes #23
@adsharma
adsharma merged commit 229ad66 into main Sep 24, 2026
6 checks passed
@adsharma
adsharma deleted the fix/windows-dlls-ladybug-0.20.4 branch September 24, 2026 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows installation is missing required DLLs in Bugscope 0.19.0

1 participant