fix: enable browser executable selection

This commit is contained in:
QiuSW
2026-07-27 22:46:31 +08:00
parent bc35bb0f3d
commit 03b23045a7
10 changed files with 342 additions and 21 deletions
@@ -7,3 +7,10 @@ import "context"
type DirectoryPicker interface {
ChooseDirectory(context.Context) (string, error)
}
// ExecutablePicker opens a platform file chooser for an existing browser
// executable. The implementation must block only in its own goroutine; UI
// callers receive the result asynchronously.
type ExecutablePicker interface {
ChooseExecutable(context.Context) (string, error)
}