mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
feat(bundler): use armhf as Debian package architecture on arm CPUs (#1663)
This commit is contained in:
committed by
GitHub
parent
fcee4c25fc
commit
894643cdcd
5
.changes/bundler-arm.md
Normal file
5
.changes/bundler-arm.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-bundler": patch
|
||||
---
|
||||
|
||||
Use `armhf` as Debian package architecture on `arm` CPUs.
|
||||
@@ -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!(
|
||||
|
||||
Reference in New Issue
Block a user