5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 06:20:48 +08:00

[webview2loader] Add missing windows build constraint (#2201)

This commit is contained in:
stffabi 2022-12-13 13:51:01 +01:00 committed by GitHub
parent 55ca6c0bf3
commit 006b0c65b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
//go:build !native_webview2loader //go:build windows && !native_webview2loader
package webviewloader package webviewloader

View File

@ -1,4 +1,4 @@
//go:build native_webview2loader //go:build windows && native_webview2loader
package webviewloader package webviewloader

View File

@ -1,4 +1,4 @@
//go:build native_webview2loader //go:build windows && native_webview2loader
package webviewloader package webviewloader

View File

@ -1,4 +1,4 @@
//go:build native_webview2loader //go:build windows && native_webview2loader
package webviewloader package webviewloader

View File

@ -1,4 +1,4 @@
//go:build !native_webview2loader //go:build windows && !native_webview2loader
package webviewloader package webviewloader

View File

@ -341,7 +341,7 @@ func execBuildApplication(builder Builder, options *Options) (string, error) {
pterm.Warning.Println(message) pterm.Warning.Println(message)
} else { } else {
tags = append(tags, nativeWebView2Loader) 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) pterm.Info.Println(message)
} }
} }