Files
kestrove-desktop/src-tauri/build.rs
T
samiandClaude Opus 5.5 7b61a4851b
ci / build (ubuntu-22.04) (push) Canceled after 0s
ci / build (windows-2025) (push) Canceled after 0s
ci / deny (push) Canceled after 0s
Rebuild the exe icon when icons/ changes
tauri-build only reruns for tauri.conf.json and capabilities/, so an
incremental build after the new icons kept the old keyhole in the exe
resource and the window icon. Clean builds were unaffected.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 00:45:24 +04:00

7 lines
286 B
Rust

fn main() {
// tauri-build only watches tauri.conf.json and capabilities/; without this an incremental build keeps the old
// icon in the exe resource and the window icon after the files in icons/ change.
println!("cargo:rerun-if-changed=icons");
tauri_build::build()
}