# fix\(updater\): preserve working CLI and compare installed widget versions \(\#615\) · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/254e4dcbf3448eedff2797d13ce8ea18f6effe35)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: 254e4dcbf3448eedff2797d13ce8ea18f6effe35

Requested commit: 254e4dcbf3448eedff2797d13ce8ea18f6effe35

Commit: 254e4dcbf3448eedff2797d13ce8ea18f6effe35

Tree: 2e531c97ceebe36df3efc88bb5da837f310fd9c6

Author: Simone

Committer: GitHub

## Message

```
fix(updater): preserve working CLI and compare installed widget versions (#615)

* fix(updater): verify the previous CLI before rollback

Rollback trusted installation receipts without probing the retained executable, so a damaged or non-executable previous copy could replace a working CLI. Reuse the bounded offline version probe before changing activation state.

Update README, usage, development documentation, and Unreleased notes. No parity TODO or translation changes are required. Verified make check (local optional KDE skips and partial QML type checks) and make package.

* fix(updater): compare the installed widget from checkout runs

Both the initial comparison and the post-lock recheck used checkout metadata, allowing downgrades, redundant reinstalls, and skipped upgrades. Read and validate the actual per-user package for installation decisions.

Add checkout and concurrent-update regressions, keep integrity fixtures on an older installed version, and update README, usage, development, and Unreleased notes. No parity TODO or translation impact.
```

## Parents

- [8bac102842a307dd9b1ec11f9d855afd5ecb2096](https://git.cafe/lucenx/codexbar-plasma/commit/8bac102842a307dd9b1ec11f9d855afd5ecb2096?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/254e4dcbf3448eedff2797d13ce8ea18f6effe35?format=markdown)
