mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 01:13:03 +08:00
[windows] WebView2 check fix
This commit is contained in:
parent
227c316cb0
commit
ac06e6728d
@ -29,7 +29,10 @@ func (i *Info) discover() error {
|
||||
func checkWebView2() *packagemanager.Dependancy {
|
||||
|
||||
info := webview2runtime.GetInstalledVersion()
|
||||
version := info.Version
|
||||
version := ""
|
||||
if info != nil {
|
||||
version = info.Version
|
||||
}
|
||||
installed := version != ""
|
||||
|
||||
return &packagemanager.Dependancy{
|
||||
|
Loading…
Reference in New Issue
Block a user