Skip to content

Commit ca87498

Browse files
authored
rerun build.rs if logo is changed
1 parent bc564b0 commit ca87498

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
fn main() {
22
if std::env::var("CARGO_CFG_TARGET_OS").unwrap() == "windows" {
3+
println!("cargo:rerun-if-changed=logo.ico");
34
let mut res = winresource::WindowsResource::new();
45
if std::path::Path::new("logo.ico").exists() {
56
res.set_icon("logo.ico");

0 commit comments

Comments
 (0)