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:
parent
101d344303
commit
f5056e7232
@ -1,3 +1,5 @@
|
|||||||
|
// +build windows
|
||||||
|
|
||||||
package x64
|
package x64
|
||||||
|
|
||||||
import _ "embed"
|
import _ "embed"
|
||||||
|
9
v2/internal/ffenestri/windows/x64/x64_stub.go
Normal file
9
v2/internal/ffenestri/windows/x64/x64_stub.go
Normal 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
|
Loading…
Reference in New Issue
Block a user