From f7f2fce4e3be59e0ef01de33f350a81b363e7b43 Mon Sep 17 00:00:00 2001 From: quadra Date: Fri, 4 Sep 2026 17:04:30 +0000 Subject: [PATCH 01/10] Load styles.css from disk at runtime instead of bundling it at build time Tauri embeds frontendDist into the compiled binary at build time (confirmed directly: editing the bundled dist/styles.css post-build and relaunching the same binary had zero effect on rendering), so any styling change previously needed a full rebuild to take effect -- painful with a Rust/Tauri build on constrained hardware, and heavy iteration on the stylesheet expected. New get_custom_css command (main.rs) reads a real file from the app's data directory (~/.local/share/FT8AF/styles.css on Linux) fresh on every launch, seeding it from the compiled-in default (public/styles.css, via include_str!) on first run so there's something to open and edit immediately. main.tsx now awaits this and injects the result as a