| 1 | # Reasonix systray patches |
| 2 | |
| 3 | This directory is copied from `fyne.io/systray` version |
| 4 | `v1.12.3-0.20260814134402-f60f01be81c6`. |
| 5 | |
| 6 | Reasonix adds `SetIconID` on Windows and registers the notification icon with |
| 7 | `NIF_GUID`. Signed builds pass a deterministic data-home GUID before `Run`, which lets Windows |
| 8 | keep the user's notification-area visibility preference when the signed desktop |
| 9 | executable moves between `versions/<version>/` directories. |
| 10 | |
| 11 | When updating the upstream copy, preserve the `SetIconID` API and ensure the |
| 12 | configured GUID is included in every `Shell_NotifyIcon` add, modify, delete, and |
| 13 | Explorer restart operation. |
| 14 | |
| 15 | Unsigned/development builds retain the window-and-ID identity. If initial GUID |
| 16 | registration fails, retry without NIF_GUID and retain that mode for the process |
| 17 | lifetime, including Explorer restarts. Never delete the rejected GUID because |
| 18 | another process may own it. Each independent data home gets a different GUID. |
| 19 |