Skip to content

Commit

Permalink
tried to fix path for windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Crowdedlight committed Oct 28, 2023
1 parent 2ffb719 commit cc04c2a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ jobs:
target: x86_64-unknown-linux-gnu
name: linux-ubuntu

- build: linux
os: ubuntu-latest
target: x86_64-pc-windows-gnu
name: windows-unix-built

- build: macos
os: macos-latest
target: x86_64-apple-darwin
Expand Down
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")),

Check failure on line 649 in src/main.rs

View workflow job for this annotation

GitHub Actions / Build and upload (macos, macos-latest, x86_64-apple-darwin, mac)

couldn't read src/..\icon.png: No such file or directory (os error 2)
..Default::default()
},
..Settings::default()
Expand Down

0 comments on commit cc04c2a

Please sign in to comment.