5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 22:20:06 +08:00
wails/v2/internal/wv2installer/error.go
2022-04-03 17:18:36 +10:00

16 lines
431 B
Go

//go:build wv2runtime.error
// +build 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.ContactAdminMsg, messages.ErrorMsg)
return fmt.Errorf(messages.Webview2NotInstalledMsg)
}