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 6bba2835bb
commit 37d0d638d5
2 changed files with 83 additions and 1 deletions

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"] }