Switch remote deploy to vendored source builds
Move remote deployment to a vendored source bundle built on the target host via Docker so redeploys no longer require local cross-compilation or host Go installation. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
28
vendor/github.com/wailsapp/go-webview2/pkg/edge/chromium_386.go
generated
vendored
Normal file
28
vendor/github.com/wailsapp/go-webview2/pkg/edge/chromium_386.go
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
//go:build windows
|
||||
// +build windows
|
||||
|
||||
package edge
|
||||
|
||||
import (
|
||||
"github.com/wailsapp/go-webview2/internal/w32"
|
||||
"golang.org/x/sys/windows"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
func (e *Chromium) SetSize(bounds w32.Rect) {
|
||||
if e.controller == nil {
|
||||
return
|
||||
}
|
||||
|
||||
hr, _, _ := e.controller.vtbl.PutBounds.Call(
|
||||
uintptr(unsafe.Pointer(e.controller)),
|
||||
uintptr(bounds.Left),
|
||||
uintptr(bounds.Top),
|
||||
uintptr(bounds.Right),
|
||||
uintptr(bounds.Bottom),
|
||||
)
|
||||
|
||||
if windows.Handle(hr) != windows.S_OK {
|
||||
e.errorCallback(windows.Errno(hr))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user