mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-10-28 17:05:13 +08:00
Windows only reports a click on a toast that has left the screen through COM: the shell activates the ToastActivatorCLSID named on the shortcut that carries the AUMID. tty7 had no such class, so clicks from Action Center did nothing. - Stamp a fixed ToastActivatorCLSID on the Start Menu shortcut (runtime and installer); a shortcut lacking it is rewritten. - Register the class per-user as a LocalServer32 (never from a cargo build directory) and as a running class object at GUI startup. - Implement INotificationActivationCallback; the toast's launch string carries the pid-checked pane identifier, so a click on a toast from an earlier process only brings the window forward. - Queue tray actions that arrive before the dispatch loop exists, which is the cold-start case when COM launches tty7 to deliver the click. - Deduplicate a popup click that arrives through both COM and the in-process Activated event. - The uninstaller removes the CLSID registration. Fixes #1179