Rebuild the exe icon when icons/ changes
ci / build (ubuntu-22.04) (push) Canceled after 0s
ci / build (windows-2025) (push) Canceled after 0s
ci / deny (push) Canceled after 0s

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]>
This commit is contained in:
2026-10-30 00:45:24 +04:00
co-authored by Claude Opus 5.5
parent 27f13b4743
commit 7b61a4851b
+3
View File
@@ -1,3 +1,6 @@
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()
}