fix(windows): register the notification shortcut identity

This commit is contained in:
Kevin Yue committed 2026-11-18 18:18:07 +08:00
1 parent 8b0d1af648
commit afd5ec3f09
3 files changed
+64 -1

No files matched your search

+5
View File
@@ -59,6 +59,11 @@ from the Start menu after completion. User configuration and licensing state
are retained during upgrades and uninstall. Authenticode setup is separate;
WinSparkle must still verify the installer payload signature before handoff.
The Start menu shortcut registers `System.AppUserModel.ID` as `com.yuezk.gpgui`,
matching the GUI and native toast sender. Windows uses the shortcut's name and
executable icon to identify GP Connect in Notification Center. Its identity is
part of the shortcut, so the existing shortcut rollback and uninstall own its cleanup.
Manual launches show an Install/Cancel confirmation page (Update/Cancel when
GP Connect is already installed). The update feed supplies `/UPDATE` through
WinSparkle's `sparkle:installerArguments` to skip that page after the user has