Repository navigation
Safety and correctness fixes for shortcut handling; no launcher (exe) change.
- The debug shortcut is now
DeepSeek Harness (Debug).lnk.WScript.Shellmarshals the link path through the ANSI code page, so the previous Chinese-named link reached COM asDeepSeek Harness (????).lnkon any non-CJK Windows andSave()threwFileNotFoundException— aborting the script and skipping the Start Menu link. An existing pre-1.1.3 Chinese-named link is migrated away. - The Start Menu shortcut is no longer skipped when sign-in autostart is enabled (the generated script assigned a string to its own
[switch]$Startupparameter; PowerShell variable names are case-insensitive). The script also takes-DesktopPath/-StartupPath/-ProgramsPathoverrides. - Cleanup can only delete links this installation created: each launcher home records the absolute paths it made in
shortcuts.json, andremoveShortcuts/ cleanup delete exactly those (older installs without the manifest fall back to the default names). Destructive helpers also honour the test seam: withDSH_DESKTOP_TEST=1they reportwouldRemoveinstead of deleting unlessdryRun: falseis explicit.POST /api/dsh-desktop/cleanupanswers 409 when nothing is installed. - The manifest records the debug link again: entries are computed from the requested folders and confirmed on disk instead of parsed from PowerShell stdout (both scripts now force UTF-8 console output).
- Tests: 50 → 57 checks, including a real PowerShell run against sandbox folders, sandboxed
USERPROFILE/APPDATAwith an escape assertion, the dry-run seam and manifest-scoped deletion.
Published through npm trusted publishing (OIDC) with provenance.