Skip to content

fix(installer): bundle WebView2Loader.dll (v0.1.3)#6

Merged
DutchSailor merged 1 commit into
mainfrom
fix/webview2-loader-dll
May 20, 2026
Merged

fix(installer): bundle WebView2Loader.dll (v0.1.3)#6
DutchSailor merged 1 commit into
mainfrom
fix/webview2-loader-dll

Conversation

@DutchSailor

Copy link
Copy Markdown
Collaborator

embedBootstrapper alone wasn't enough — the loader DLL itself needs to be next to the .exe. This commit checks the DLL into src-tauri/ and lists it in bundle.resources so NSIS copies it on install.

…0.1.3)

embedBootstrapper installs the WebView2 RUNTIME but the WebView2Loader.dll
that our open-calculations-studio.exe links against is a separate file
that Tauri's NSIS template was NOT copying into the install directory.
Result: clean Windows installs still crashed at app start with
"WebView2Loader.dll missing".

Fix: copy the loader DLL into src-tauri/ and list it under
`bundle.resources` so the NSIS bundler places it next to the .exe.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@DutchSailor DutchSailor merged commit c70b446 into main May 20, 2026
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.

1 participant