fix(launcher): report leftover upstream launchers that no longer start #54

Merged
xavierk merged 1 commits from fix/stale-upstream-launcher into main 2026-11-06 21:03:29 +00:00
1 Commits
Author SHA1 Message Date
xavierk 1cf5423d39 fix(launcher): report leftover upstream launchers that no longer start
CI / security (pull_request) Successful in 1m14s
CI / lint (pull_request) Successful in 23s
CI / ai-review (pull_request) Successful in 7s
A previous Vocalinux install can leave ~/.local/share/applications/vocalinux.desktop
and ~/.local/bin/vocalinux(-gui) behind. When their target or venv is gone they
start nothing, yet they sit next to Voculinux in launchers.

The one-time legacy import now also checks those three paths, after the tray is
up, with stat calls and small reads only. A launcher is stale when its target is
missing, a link is dangling, or a script names a missing interpreter or venv
entry. A working install is never reported. One notice names the stale files and
a marker in the new data directory keeps it to once. No file is removed or
modified.

Fixes #52
2026-11-07 02:31:12 +05:30