mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-26 01:34:51 +08:00
A major upgrade removes the old product and installs the new one from scratch, and the desktop shortcut component was unconditional, so every update put the shortcut back even after the user had deleted it. Look for the existing shortcut during AppSearch (before the old version is removed) and only install the desktop shortcut on a fresh install or when it is still present on an upgrade.