5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 06:20:48 +08:00
wails/v2/internal/wv2installer/error.go
Misite Bao f70d9de366
fix: fix go test errors (#2169)
* fix: fix go test errors

* Add flags to mac test

* Run on all branches

* Update PR workflow

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-12-06 06:45:06 +11:00

16 lines
441 B
Go

//go:build windows && wv2runtime.error
// +build windows,wv2runtime.error
package wv2installer
import (
"fmt"
"github.com/wailsapp/wails/v2/internal/webview2runtime"
"github.com/wailsapp/wails/v2/pkg/options/windows"
)
func doInstallationStrategy(installStatus installationStatus, messages *windows.Messages) error {
_ = webview2runtime.Error(messages.ContactAdmin, messages.Error)
return fmt.Errorf(messages.Webview2NotInstalled)
}