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>
20 lines
281 B
Go
20 lines
281 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package edge
|
|
|
|
import (
|
|
"github.com/wailsapp/go-webview2/internal/w32"
|
|
)
|
|
|
|
func (e *Chromium) SetSize(bounds w32.Rect) {
|
|
if e.controller == nil {
|
|
return
|
|
}
|
|
|
|
err := e.controller.PutBounds(bounds)
|
|
if err != nil {
|
|
e.errorCallback(err)
|
|
}
|
|
}
|