opencode-provider-switch/internal/desktop/runtime_fallback.go
apale7 8fc72e87e4 fix(desktop): finish Windows shell polish
Stabilize the tray icon and locale handling on Windows while aligning provider and alias management panels with the refreshed desktop branding.
2026-04-20 02:36:54 +08:00

48 lines
752 B
Go

//go:build !desktop_wails
package desktop
import "context"
type desktopNotification struct {
ID string
Title string
Body string
}
func hideWindow(ctx context.Context) error {
_ = ctx
return nil
}
func showWindow(ctx context.Context) error {
_ = ctx
return nil
}
func quitWindow(ctx context.Context) error {
_ = ctx
return nil
}
func openExternalURL(ctx context.Context, url string) error {
_ = ctx
return openBrowser(url)
}
func initDesktopNotifications(ctx context.Context) error {
_ = ctx
return nil
}
func desktopNotificationsAvailable(ctx context.Context) bool {
_ = ctx
return false
}
func sendDesktopNotification(ctx context.Context, notification desktopNotification) error {
_ = ctx
_ = notification
return nil
}