Harden settings: split breadcrumbs secrets, typed exec, new panels
Load and save Wi-Fi networks in networks.toml (0600) instead of writing PSKs back into breadcrumbs.toml. The password field is write-only. Replace the generic argv runner with typed bakery/pacman/fwupd commands and set a real Tauri CSP. Add Lock, Screenshots, Monitors, and Help panels. Pin bread-theme and bread-utils to bread-ecosystem v0.7.1. bread-screenshots is not on that tag, so --screenshot calls grim locally. bakery.toml lists webkitgtk-4.1 deps; README/CLAUDE.md match Tauri 2 + Svelte 5 and single-trunk main.
This commit is contained in:
parent
abfb4fd4a4
commit
cbac50683e
30 changed files with 1469 additions and 147 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<script lang="ts">
|
||||
import { onMount } from "svelte";
|
||||
import { invoke } from "@tauri-apps/api/core";
|
||||
import { runStreamingCommand } from "$lib/streaming";
|
||||
import { runStreamed } from "$lib/streaming";
|
||||
import ViewScaffold from "$lib/components/ViewScaffold.svelte";
|
||||
import Group from "$lib/components/Group.svelte";
|
||||
import Hint from "$lib/components/Hint.svelte";
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
async function checkForUpdates() {
|
||||
log = [];
|
||||
busy = true;
|
||||
await runStreamingCommand("fwupdmgr", ["refresh"], appendLine);
|
||||
await runStreamed("fwupd_refresh", {}, appendLine);
|
||||
busy = false;
|
||||
await refresh();
|
||||
}
|
||||
|
|
@ -39,7 +39,7 @@
|
|||
async function updateAll() {
|
||||
log = [];
|
||||
busy = true;
|
||||
await runStreamingCommand("fwupdmgr", ["update", "-y"], appendLine);
|
||||
await runStreamed("fwupd_update", {}, appendLine);
|
||||
busy = false;
|
||||
await refresh();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue