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:
16
vendor/github.com/jchv/go-winloader/internal/winloader/hacks_other.go
generated
vendored
Normal file
16
vendor/github.com/jchv/go-winloader/internal/winloader/hacks_other.go
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// +build !windows
|
||||
|
||||
package winloader
|
||||
|
||||
import "errors"
|
||||
|
||||
// MakePEBEntryForModule is a hack that inserts an entry for the loaded module
|
||||
// into the PEB loader data to make it appear to Windows functions.
|
||||
func MakePEBEntryForModule() error {
|
||||
return errors.New("platform not supported")
|
||||
}
|
||||
|
||||
// GetProcessHInstance gets the HINSTANCE for the current process.
|
||||
func GetProcessHInstance() (uintptr, error) {
|
||||
return errors.New("platform not supported")
|
||||
}
|
||||
Reference in New Issue
Block a user