0.6.1: fix Firewall silent failures and Snapshots error messaging
Some checks failed
Mirror to GitHub / mirror (push) Failing after 1s
Build and publish package / package (push) Failing after 1m41s

Firewall's fetch_status() discarded stderr/exit code on failure, so a
failed pkexec call (e.g. no polkit agent in the session) left the page
silently stuck on "Status not loaded" with no indication anything went
wrong. Now surfaces the actual failure reason, and attaches the
previously-invisible per-action log buffer to a visible TextView
(matching the Packages page's existing pattern).

Snapshots' "No snapshots yet" empty state was shown identically whether
snapper was genuinely unconfigured or the user just lacked permissions
(a "No permissions." stderr) -- now distinguishes the two.
This commit is contained in:
Breadway 2026-07-05 09:02:54 +08:00
parent 121e93d273
commit 783f7460bf
4 changed files with 153 additions and 52 deletions

2
Cargo.lock generated
View file

@ -28,7 +28,7 @@ checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8"
[[package]]
name = "bos-settings"
version = "0.6.0"
version = "0.6.1"
dependencies = [
"async-channel",
"bread-theme",