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]>
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
fn main() {
|
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()
|
tauri_build::build()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user