Skip to content

Commit c1294a9

Browse files
steinbroEh2406
authored andcommitted
Set icon ID
Fixes bug in PR #24, which immediately crashes on launch
1 parent 9a77bf9 commit c1294a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ extern crate winresource;
55
fn main() {
66
let mut res = winresource::WindowsResource::new();
77
res.set_manifest_file("rust_reader.manifest");
8-
res.set_icon("Reader2.ico");
8+
res.set_icon_with_id("Reader2.ico", "1");
99
res.compile().unwrap();
1010
}
1111

0 commit comments

Comments
 (0)