diff --git a/docs/superpowers/plans/2026-07-14-native-notifications-and-tray.md b/docs/superpowers/plans/2026-07-14-native-notifications-and-tray.md index c6d2751..0bd11d0 100644 --- a/docs/superpowers/plans/2026-07-14-native-notifications-and-tray.md +++ b/docs/superpowers/plans/2026-07-14-native-notifications-and-tray.md @@ -231,7 +231,7 @@ Expected: absent packages/methods. - [ ] **Step 3: Implement adapter and Wails wiring** -Add `github.com/getlantern/systray@v1.2.2`. The production adapter calls nonblocking `systray.Register`, sets an embedded existing icon, and starts goroutines for the two click channels. `main.go` embeds `build/windows/icon.ico` and `build/appicon.png`, registers `OnBeforeClose`, and uses `options.SingleInstanceLock` whose second launch calls `app.ShowWindow`. +Add `github.com/getlantern/systray@v1.2.2`. The production adapter calls nonblocking `systray.Register`, sets compact source-controlled PNG bytes derived from the existing tracked logo, and starts goroutines for the two click channels. `main.go` registers `OnBeforeClose` and uses `options.SingleInstanceLock` whose second launch calls `app.ShowWindow`. Do not embed ignored Wails-generated files from `build/`. - [ ] **Step 4: Verify and commit** @@ -339,4 +339,3 @@ gh release view v0.1.0-alpha.2 -R mirivlad/verstak ``` The final report distinguishes automated verification from the two required real desktop manual checks: tray close/show/quit and a near-future Todo notification while the window is hidden. - diff --git a/docs/superpowers/specs/2026-07-14-native-notifications-and-tray-design.md b/docs/superpowers/specs/2026-07-14-native-notifications-and-tray-design.md index 2934247..cee4df1 100644 --- a/docs/superpowers/specs/2026-07-14-native-notifications-and-tray-design.md +++ b/docs/superpowers/specs/2026-07-14-native-notifications-and-tray-design.md @@ -36,9 +36,10 @@ of creating a second process. The implementation uses `github.com/getlantern/systray` through a small `internal/shell/tray` adapter. It uses `Register`, rather than its blocking -`Run`, so Wails remains the owner of the GUI event loop. The current project -icon is embedded in the executable; Windows receives the existing `.ico`, and -Linux receives the existing PNG. +`Run`, so Wails remains the owner of the GUI event loop. A compact PNG derived +from the tracked project logo is encoded in the tray package, so a clean build +does not depend on ignored Wails-generated icon files. The library accepts PNG +icon bytes on both target platforms. ## Notification capability and permission