mirror of
https://github.com/DEEIX-AI/Winc.git
synced 2026-12-04 16:22:47 +00:00
8640cb882b
Installing over a running Winc stopped on winc.exe with an "Error opening file for writing" prompt. A silent installation, which is how updates run, skipped the open file instead and replaced the others, so an update while another Winc process ran (--wait, -, --new-instance) left a mix of versions. The terminal helper outlives winc.exe briefly while it closes the shells, and winc-pty.exe was written once without a retry, so an update could also keep the old helper beside the new winc.exe. Uninstalling a running Winc left both files behind. The installer and the uninstaller now check that winc.exe and winc-pty.exe can be opened for writing before changing anything. An interactive run asks to close Winc and can retry. A silent installation waits up to 5 s and then fails; a silent uninstallation leaves Winc installed. Neither executable is skipped any more when it cannot be written. The release check covers both outcomes of an installation with a running terminal helper. Co-Authored-By: Claude Opus 5.5 xhigh Co-Authored-By: GPT 6.2 Sol max