Windows build fails to load webview2.dll
#2
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description:
Currently, the Windows build produced by our Gitea CI pipeline throws the error:
This happens because:
x86_64-pc-windows-gnutarget.Why this matters:
Tauri requires WebView2 to function on Windows. Without it, our
.exeartifacts are unusable on fresh Windows installations.Possible solutions:
Bundle bootstrapper (recommended):
Update
src-tauri/tauri.conf.jsonto embed the WebView2 bootstrapper so the app auto-installs WebView2 at first launch:Ship installer separately:
Download the Evergreen WebView2 installer (
MicrosoftEdgeWebview2Setup.exe) during CI and include it in the release artifacts.Long term:
If possible, add a Windows runner and build with
x86_64-pc-windows-msvcfor maximum compatibility.Acceptance Criteria:
.exeon a clean Windows VM should not fail with a missingwebview2.dll.**Title:** Windows build fails to load `webview2.dll`to Windows build fails to load `webview2.dll`this is a known issue on debloated installs default windows handles this fine.
run web or some different version if you debloated windows.
tldr:
if you want to run bytechat dont debloat