Commit graph

6 commits

Author SHA1 Message Date
Breadway
ae39fb3ce6 Embed SVG assets and rasterise with resvg
All checks were successful
Mirror to GitHub / mirror (push) Successful in 1m28s
Build and publish package / package (push) Successful in 2m40s
The packaged binary panicked on startup ("svg load: Unrecognized image file
format"): asset SVGs were referenced by their build-time CARGO_MANIFEST_DIR
path (absent on an installed system, so read_to_string returned empty bytes),
and gdk::Texture::from_bytes can no longer decode SVG since librsvg dropped its
gdk-pixbuf loader.

- include_str! the SVGs into the binary (no runtime asset files)
- rasterise via resvg/tiny-skia into a gdk::MemoryTexture (no system loader)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 19:36:38 +08:00
Breadway
9b9705520e Fixes 2026-05-19 12:31:26 +08:00
Breadway
e233750b24 General Dev 2026-05-18 23:01:52 +08:00
Breadway
633467b6f2 Initial commit 2026-05-17 13:13:37 +08:00
Breadway
f1b471652b step 6+7: live clock, CPU/MEM/power/battery/WiFi stats poller 2026-05-17 08:40:35 +08:00
Breadway
1bbe9a2929 scaffold: Cargo.toml, module stubs, layer-shell window (step 1+2) 2026-05-17 00:38:19 +08:00