mirror of
https://github.com/storytold/craft-launcher.git
synced 2026-11-11 20:53:00 +00:00
Command::Replace carried only the app. Between the "already exists" question and the answer, the release can change (a new version, another asset name, another folder), and the install then recomputed its destination and wrote over a different existing file with replace=true. Replace now carries the path from Event::Occupied. The backend checks what is in the way again: if it is exactly that path the install overwrites it; if something else is in the way it asks again; if nothing is, it installs without leave to overwrite.