Files
soft_quay/app-modern/platform/windows/platform_stub.go
T

36 lines
580 B
Go

//go:build !windows
package windows
import (
"runtime"
"softbox.local/core/application/launch"
)
type platformStub struct{}
func newPlatform() Platform {
return platformStub{}
}
func (platformStub) OS() string {
return runtime.GOOS
}
func (platformStub) Edition() Edition {
return EditionModern
}
func (platformStub) IsCompatible(string) (bool, error) {
return false, ErrUnsupported
}
func (platformStub) IsRunning(string, string) (bool, error) {
return false, ErrUnsupported
}
func (platformStub) Start(launch.Command) (int, error) {
return 0, ErrUnsupported
}