Sfoglia il codice sorgente

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

Lucas Fernandes Nogueira 3 anni fa
parent
commit
635f23b88a

+ 5 - 0
.changes/fix-debian-arm64.md

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

+ 1 - 0
tooling/bundler/src/bundle/linux/debian.rs

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