chore: add build tags to win32 package

This commit is contained in:
Lea Anthony 2022-04-04 20:07:37 +10:00
commit 95b70de01f
No known key found for this signature in database
GPG key ID: 33DAF7BB90A58405
3 changed files with 10 additions and 2 deletions

View file

@ -1,8 +1,11 @@
//go:build windows
package win32
import (
"github.com/wailsapp/wails/v2/internal/system/operatingsystem"
"syscall"
"github.com/wailsapp/wails/v2/internal/system/operatingsystem"
)
type HRESULT int32

View file

@ -1,8 +1,11 @@
//go:build windows
package win32
import (
"golang.org/x/sys/windows/registry"
"unsafe"
"golang.org/x/sys/windows/registry"
)
type DWMWINDOWATTRIBUTE int32

View file

@ -1,3 +1,5 @@
//go:build windows
package win32
import (