Skip to content

Commit

Permalink
Replace winres with winresource
Browse files Browse the repository at this point in the history
Fixes #17
  • Loading branch information
steinbro authored and Eh2406 committed Oct 30, 2023
1 parent a7bcb83 commit 9a77bf9
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 83 deletions.
163 changes: 83 additions & 80 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ chrono = { version = "0.4", features = ["serde"] }
error-code = "2.3.1"

[target.'cfg(windows)'.build-dependencies]
winres = "0.1.12"
winresource = "0.1.17"

[dev-dependencies]
quickcheck = "1.0.3"
Expand Down
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#[cfg(windows)]
extern crate winres;
extern crate winresource;

#[cfg(windows)]
fn main() {
let mut res = winres::WindowsResource::new();
let mut res = winresource::WindowsResource::new();
res.set_manifest_file("rust_reader.manifest");
res.set_icon("Reader2.ico");
res.compile().unwrap();
Expand Down

0 comments on commit 9a77bf9

Please sign in to comment.