feat(bundler): use armhf as Debian package architecture on arm CPUs (#1663)

This commit is contained in:
Lucas Fernandes Nogueira
2021-04-30 12:32:07 -03:00
committed by GitHub
parent fcee4c25fc
commit 894643cdcd
2 changed files with 7 additions and 0 deletions

5
.changes/bundler-arm.md Normal file
View File

@@ -0,0 +1,5 @@
---
"tauri-bundler": patch
---
Use `armhf` as Debian package architecture on `arm` CPUs.

View File

@@ -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!(