Skip to content

Commit 815d170

Browse files
committed
update: swap out tray icon
1 parent c60d4ab commit 815d170

File tree

14 files changed

+58
-12
lines changed

14 files changed

+58
-12
lines changed

Cargo.lock

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ rpath =false
2828
strip =true
2929

3030
[build-dependencies]
31-
slint-build="1.9.2"
31+
embed-resource="2.3"
32+
slint-build ="1.9.2"
3233

3334
[dependencies]
3435
anyhow ="1.0.95"

build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
fn main() {
2-
println!("cargo:rustc-link-lib=./icons/res");
2+
embed_resource::compile("resources.rc", embed_resource::NONE);
3+
34
slint_build::compile("ui/main.slint").expect("Slint build failed")
45
}

icons/appicon.aps

-96.5 KB
Binary file not shown.

icons/appicon.ico

-95.6 KB
Binary file not shown.

icons/appicon.rc

Lines changed: 0 additions & 1 deletion
This file was deleted.

icons/appicon16.ico

1.12 KB
Binary file not shown.

icons/appicon32.ico

4.19 KB
Binary file not shown.

icons/res.lib

-95.8 KB
Binary file not shown.

icons/resources.rc

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)