Stabilize the tray icon and locale handling on Windows while aligning provider and alias management panels with the refreshed desktop branding.
48 lines
752 B
Go
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
|
|
}
|