9e4ed4d7a9
Bring Hermes-Setup.exe's UI onto the shared design tokens (self-contained, no desktop-component coupling) and add two capabilities: - design: flat stage rows (running step opaque, rest muted), neutral check / destructive cross, running fourier-flow Loader, hairline --stroke-nous borders, fill-less log panel; ported BrandMark (nous-girl) + HackeryButton + Loader standalone; re-synced button variants; de-boxed success/failure. - theme: follow the OS light/dark via the authoritative Tauri window theme (theme.ts + onThemeChanged, core:window:allow-theme), with Nous dark seed colors in styles.css so the --ui-*/--dt-* chain derives correctly. - updates: split the monolithic "Updating" bar into handoff -> download -> rebuild (+ install on macOS) stages via a shared update_stages() builder, a live elapsed timer on the running stage, and a dev-only fake-boot preview (gated on import.meta.env.DEV, stripped from the shipped bundle).
18 lines
618 B
JSON
18 lines
618 B
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2/capability",
|
|
"identifier": "default",
|
|
"description": "Capabilities required by Hermes Setup. Narrowly scoped: we don't write user files outside HERMES_HOME, we don't read arbitrary paths, and the only external network call goes through reqwest (Rust side, not exposed to the webview).",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:default",
|
|
"core:window:allow-close",
|
|
"core:window:allow-minimize",
|
|
"core:window:allow-theme",
|
|
"core:event:default",
|
|
"opener:default",
|
|
"dialog:default",
|
|
"process:default",
|
|
"shell:default"
|
|
]
|
|
}
|