diff --git a/.changes/bundler-arm.md b/.changes/bundler-arm.md new file mode 100644 index 000000000..a6b99d1cd --- /dev/null +++ b/.changes/bundler-arm.md @@ -0,0 +1,5 @@ +--- +"tauri-bundler": patch +--- + +Use `armhf` as Debian package architecture on `arm` CPUs. diff --git a/tooling/bundler/src/bundle/linux/debian.rs b/tooling/bundler/src/bundle/linux/debian.rs index 5c0a80682..2ebd41ef2 100644 --- a/tooling/bundler/src/bundle/linux/debian.rs +++ b/tooling/bundler/src/bundle/linux/debian.rs @@ -53,6 +53,8 @@ pub fn bundle_project(settings: &Settings) -> crate::Result> { 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!(