Files
craft-launcher/crates/core
Dylan M. Taylor 57143114d1 fix(install): bind a Replace answer to the path the user was shown (#1189)
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.
2026-11-02 22:42:36 -05:00
..