fix(installer): bundle WebView2Loader.dll (v0.1.3)#6
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.