Skip to content

Commit

Permalink
fixed path error for icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Crowdedlight committed Oct 28, 2023
1 parent ff4691a commit 2ffb719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ pub fn main() -> iced::Result {
Amdu::run(Settings {
exit_on_close_request: false,
window: window::Settings {
icon: Some(icon::from_file_data(include_bytes!("icon.png"), Some(image::ImageFormat::Png)).expect("Failed to load icon")),
icon: Some(icon::from_file_data(include_bytes!("../icon.png"), Some(image::ImageFormat::Png)).expect("Failed to load icon")),
..Default::default()
},
..Settings::default()
Expand Down

0 comments on commit 2ffb719

Please sign in to comment.