P2.1: remove PySentry legacy registry autostart from Windows

Drop legacyAutostartName, cleanupLegacyRegistryAutostart,
legacyRegistryAutostartExists, parseRegistryRunValue, and readShortcutTarget
from autostart_windows.go; remove the corresponding legacy registry checks
from SetAutostart and AutostartStatus; delete TestParseRegistryRunValue.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
mixeme
2026-06-22 22:06:28 +03:00
parent 11b7012cf2
commit a7faccef8a
3 changed files with 1 additions and 65 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ These land together because both edit `domain/job.go` and `storage/store.go`.
- [x] P1.6 — Update storage/runner/format tests + TESTS.md
### Phase 2 — PySentry legacy removal
- [ ] P2.1 — Windows autostart legacy code
- [x] P2.1 — Windows autostart legacy code
- [ ] P2.2 — Linux autostart legacy code
- [ ] P2.3 — Delete legacy autostart tests
- [ ] P2.4 — `.gitignore` / `.dockerignore`