Skip to content

Commit

Permalink
[webview2loader] Add missing windows build constraint (wailsapp#2201)
Browse files Browse the repository at this point in the history
  • Loading branch information
stffabi authored Dec 13, 2022
1 parent 55ca6c0 commit 006b0c6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !native_webview2loader
//go:build windows && !native_webview2loader

package webviewloader

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build native_webview2loader
//go:build windows && native_webview2loader

package webviewloader

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build native_webview2loader
//go:build windows && native_webview2loader

package webviewloader

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build native_webview2loader
//go:build windows && native_webview2loader

package webviewloader

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !native_webview2loader
//go:build windows && !native_webview2loader

package webviewloader

Expand Down
2 changes: 1 addition & 1 deletion v2/pkg/commands/build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit 006b0c6

Please sign in to comment.