mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 18:10:48 +08:00
[webview2loader] Add missing windows build constraint (#2201)
This commit is contained in:
parent
55ca6c0bf3
commit
006b0c65b4
@ -1,4 +1,4 @@
|
||||
//go:build !native_webview2loader
|
||||
//go:build windows && !native_webview2loader
|
||||
|
||||
package webviewloader
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
//go:build native_webview2loader
|
||||
//go:build windows && native_webview2loader
|
||||
|
||||
package webviewloader
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
//go:build native_webview2loader
|
||||
//go:build windows && native_webview2loader
|
||||
|
||||
package webviewloader
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
//go:build native_webview2loader
|
||||
//go:build windows && native_webview2loader
|
||||
|
||||
package webviewloader
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
//go:build !native_webview2loader
|
||||
//go:build windows && !native_webview2loader
|
||||
|
||||
package webviewloader
|
||||
|
||||
|
@ -341,7 +341,7 @@ func execBuildApplication(builder Builder, options *Options) (string, error) {
|
||||
pterm.Warning.Println(message)
|
||||
} else {
|
||||
tags = append(tags, nativeWebView2Loader)
|
||||
message := fmt.Sprintf("Wails is now using th new Go WebView2Loader. If you encounter any issues with it, please report them to https://github.com/wailsapp/wails/issues/2004. You could also use the old legacy loader with `-tags %s`, but keep in mind this will be deprecated in the near future.", strings.Join(tags, ","))
|
||||
message := fmt.Sprintf("Wails is now using the new Go WebView2Loader. If you encounter any issues with it, please report them to https://github.com/wailsapp/wails/issues/2004. You could also use the old legacy loader with `-tags %s`, but keep in mind this will be deprecated in the near future.", strings.Join(tags, ","))
|
||||
pterm.Info.Println(message)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user