Skip to content

Commit

Permalink
Fix artifacts not matching during linux incremental update
Browse files Browse the repository at this point in the history
  • Loading branch information
MCOfficer committed Jul 13, 2024
1 parent aa08495 commit cf50699
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ pub fn choose_artifact<A: Artifact>(artifacts: Vec<A>, instance_type: InstanceTy
}
}
Err(anyhow!(
"Couldn't match any asset against for {:#?}",
"Couldn't match any asset against {:#?}",
instance_type
))
}
Expand Down
2 changes: 1 addition & 1 deletion src/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl InstanceType {
Self::MacOS => archive_name.contains("mac") || archive_name.ends_with(".dmg"),
Self::Windows => archive_name.contains("win64"),
Self::Linux => archive_name.ends_with(".tar.gz"),
Self::AppImage => archive_name.ends_with(".AppImage"),
Self::AppImage => archive_name.contains(".AppImage"),
Self::Unknown => false,
}
}
Expand Down

0 comments on commit cf50699

Please sign in to comment.