Skip to content

fix(windows): embed the WebView2 bootstrapper in the installer#69

Open
msitarzewski wants to merge 1 commit into
mainfrom
fix/windows-webview2-embed
Open

fix(windows): embed the WebView2 bootstrapper in the installer#69
msitarzewski wants to merge 1 commit into
mainfrom
fix/windows-webview2-embed

Conversation

@msitarzewski

Copy link
Copy Markdown
Owner

Summary

bundle.windows was absent, so Tauri defaulted the WebView2 install to downloadBootstrapper — the installer downloads even the bootstrapper over the network. If that download is blocked (offline/proxy/firewall) and the machine lacks WebView2, the app installs but has no runtime → launches with no window and no error — the shape of #65.

embedBootstrapper ships the bootstrapper inside the installer (~1.5 MB), removing that failure mode.

Honesty on scope

Windows 11 already bundles the WebView2 runtime, so this is unlikely to be the actual cause of #65 (those reporters have WebView2). It mainly hardens Win10 / LTSC / stripped / offline installs. Belt-and-braces while we chase the real #65 cause (looks x64/GPU-specific — I couldn't reproduce it on a Windows 11 ARM64 VM, where v0.3.0 launches and renders fine).

Verification

tauri.conf.json parses; only affects the Windows installer (no macOS impact). Will confirm on the next Windows CI build.

Refs #65.

🤖 Generated with Claude Code

Default install mode is downloadBootstrapper — the installer fetches even the
bootstrapper over the network, so a blocked/offline install can leave a machine
with the app but no WebView2 runtime, and the app then launches with no window
and no error (the shape of #65). embedBootstrapper ships the bootstrapper inside
the installer (~1.5MB), removing that failure mode. Windows 11 already bundles
WebView2, so this mainly hardens Win10/LTSC/offline installs — belt-and-braces,
not a confirmed fix for #65.

Refs #65.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WdX6PvnCfRgYD11yVpXVor
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