Skip to content

Commit

Permalink
Merge pull request #44 from oko/use-embed-resource
Browse files Browse the repository at this point in the history
use embed-resource for resource compilation
  • Loading branch information
olback authored Oct 18, 2023
2 parents 92d0310 + 36d5be7 commit 51a0ab6
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 51a0ab6

Please sign in to comment.