5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-10 22:19:46 +08:00

hack: enable builds on non-Windows

This commit is contained in:
Travis McLane 2021-05-07 16:05:15 -04:00 committed by Lea Anthony
parent 101d344303
commit f5056e7232
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,5 @@
// +build windows
package x64 package x64
import _ "embed" import _ "embed"

View File

@ -0,0 +1,9 @@
// +build !windows
// This is a stub to define the following even though they don't exist
// on non-Windows systems. Note: This is not the right way to handle this.
package x64
var WebView2 []byte
var WebView2Loader []byte