Detect missing WebView2 at startup, show download link

Checks Windows registry for WebView2 Runtime before Tauri
initializes. If missing, shows a native MessageBox explaining
the requirement and opens the Microsoft download page.
This commit is contained in:
Your Name
2026-02-07 02:08:51 +02:00
parent 82d1784efa
commit 9bfd6ecffe
2 changed files with 83 additions and 1 deletions
+1 -1
View File
@@ -22,4 +22,4 @@ chrono = "0.4"
anyhow = "1"
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["winuser", "sysinfoapi", "windef"] }
winapi = { version = "0.3", features = ["winuser", "sysinfoapi", "windef", "winreg", "shellapi"] }