fix(bundler): correctly set debian architecture for aarch64 (#4700)

This commit is contained in:
Lucas Fernandes Nogueira 2022-07-17 09:19:40 -03:00 committed by GitHub
parent b1d53426d1
commit 635f23b88a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
"tauri-bundler": patch
---
Correctly fill the architecture when building Debian packages targeting ARM64 (aarch64).

View File

@ -55,6 +55,7 @@ pub fn bundle_project(settings: &Settings) -> crate::Result<Vec<PathBuf>> {
"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!(