From 635f23b88adbb8726d628f67840709cd870836dc Mon Sep 17 00:00:00 2001 From: Lucas Fernandes Nogueira Date: Sun, 17 Jul 2022 09:19:40 -0300 Subject: [PATCH] fix(bundler): correctly set debian architecture for aarch64 (#4700) --- .changes/fix-debian-arm64.md | 5 +++++ tooling/bundler/src/bundle/linux/debian.rs | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changes/fix-debian-arm64.md diff --git a/.changes/fix-debian-arm64.md b/.changes/fix-debian-arm64.md new file mode 100644 index 00000000000..556fb423faa --- /dev/null +++ b/.changes/fix-debian-arm64.md @@ -0,0 +1,5 @@ +--- +"tauri-bundler": patch +--- + +Correctly fill the architecture when building Debian packages targeting ARM64 (aarch64). diff --git a/tooling/bundler/src/bundle/linux/debian.rs b/tooling/bundler/src/bundle/linux/debian.rs index 2008e403557..7edecf5e958 100644 --- a/tooling/bundler/src/bundle/linux/debian.rs +++ b/tooling/bundler/src/bundle/linux/debian.rs @@ -55,6 +55,7 @@ pub fn bundle_project(settings: &Settings) -> crate::Result> { "x86_64" => "amd64", // ARM64 is detected differently, armel isn't supported, so armhf is the only reasonable choice here. "arm" => "armhf", + "aarch64" => "arm64", other => other, }; let package_base_name = format!(