Route icon results through UI events (T-607)

This commit is contained in:
ila
2026-07-17 10:21:44 +08:00
parent fba672381e
commit 0945fe93dc
24 changed files with 2068 additions and 31 deletions
+4
View File
@@ -17,6 +17,8 @@ const (
EventAppStarted EventType = "AppStarted"
EventAppExited EventType = "AppExited"
EventLicenseChanged EventType = "LicenseChanged"
EventIconReady EventType = "IconReady"
EventIconFailed EventType = "IconFailed"
)
var validEventTypes = map[EventType]struct{}{
@@ -33,6 +35,8 @@ var validEventTypes = map[EventType]struct{}{
EventAppStarted: {},
EventAppExited: {},
EventLicenseChanged: {},
EventIconReady: {},
EventIconFailed: {},
}
// Valid reports whether eventType is part of the documented event contract.