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:
@@ -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"] }
|
||||
|
||||
Reference in New Issue
Block a user