Skip to content

Commit

Permalink
feat(bundler): use armhf as Debian package architecture on arm CPUs (
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Apr 30, 2021
1 parent fcee4c2 commit 894643c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changes/bundler-arm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-bundler": patch
---

Use `armhf` as Debian package architecture on `arm` CPUs.
2 changes: 2 additions & 0 deletions tooling/bundler/src/bundle/linux/debian.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ pub fn bundle_project(settings: &Settings) -> crate::Result<Vec<PathBuf>> {
let arch = match settings.binary_arch() {
"x86" => "i386",
"x86_64" => "amd64",
// ARM64 is detected differently, armel isn't supported, so armhf is the only reasonable choice here.
"arm" => "armhf",
other => other,
};
let package_base_name = format!(
Expand Down

0 comments on commit 894643c

Please sign in to comment.