Skip to content

Commit

Permalink
Detect Arm64 and Arm architectures from MSI (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
vedantmgoyal9 authored Feb 14, 2024
1 parent 0349922 commit 014d699
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/msi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ impl Msi {
let architecture = match msi.summary_info().arch() {
Some("x64" | "Intel64" | "AMD64") => Architecture::X64,
Some("Intel") => Architecture::X86,
Some("Arm64") => Architecture::Arm64,
Some("Arm") => Architecture::Arm,
_ => bail!("No architecture was found in the MSI"),
};

Expand Down

0 comments on commit 014d699

Please sign in to comment.