Skip to content

Commit

Permalink
use embed-resource for resource compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
oko committed Aug 28, 2023
1 parent 92d0310 commit 36d5be7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/windows/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ edition = "2021"
tray-item = { path = "../../" }

[build-dependencies]
windres = "*"
embed-resource = "2.3"
4 changes: 2 additions & 2 deletions examples/windows/build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use windres::Build;
extern crate embed_resource;

fn main() {
Build::new().compile("tray-example.rc").unwrap();
embed_resource::compile("tray-example.rc", embed_resource::NONE);
}

0 comments on commit 36d5be7

Please sign in to comment.