Skip to content

fix(installer): embed WebView2 bootstrapper (v0.1.2)#4

Merged
DutchSailor merged 1 commit into
mainfrom
release/v0.1.2
May 20, 2026
Merged

fix(installer): embed WebView2 bootstrapper (v0.1.2)#4
DutchSailor merged 1 commit into
mainfrom
release/v0.1.2

Conversation

@DutchSailor

Copy link
Copy Markdown
Collaborator

Fixes 'WebView2Loader.dll missing' on clean Windows machines. Sets bundle.windows.webviewInstallMode to embedBootstrapper so the WebView2 runtime is bundled into the NSIS installer.

The v0.1.0 / v0.1.1 NSIS installers shipped without the WebView2 runtime
bootstrapper. On clean Windows machines (or systems where WebView2 isn't
already installed) this causes the app to fail at startup with
"WebView2Loader.dll missing".

Setting `bundle.windows.webviewInstallMode` to `embedBootstrapper` packs
the ~1.5 MB WebView2 bootstrapper into the installer; it runs silently
at install time and downloads the runtime when absent. Result: the app
launches on any Windows machine without an extra manual install step.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@DutchSailor DutchSailor merged commit 712c3b2 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