Files

17 lines
360 B
Go
Raw Permalink Normal View History

2026-07-27 22:46:31 +08:00
//go:build !windows
package files
import (
"context"
"errors"
)
type unsupportedExecutablePicker struct{}
func NewExecutablePicker() ExecutablePicker { return unsupportedExecutablePicker{} }
func (unsupportedExecutablePicker) ChooseExecutable(context.Context) (string, error) {
return "", errors.New("executable picker is only supported on Windows")
}