Skip to content

Commit

Permalink
fix cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
rfvgyhn committed Jun 10, 2024
1 parent 34d0a96 commit 8a83c75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ use winresource::WindowsResource;

fn main() {
let icon_path = "resources/min-ed-launcher.ico";

if Path::new(icon_path).is_file() {
let mut res = WindowsResource::new();

res.set_icon(icon_path);
res.compile().expect("failed to build executable icon");
}
Expand Down

0 comments on commit 8a83c75

Please sign in to comment.