fix(bundler): typo in 32bit arch (#14585)

* fix(bundler): typo in 32bit arch

* changefile
This commit is contained in:
Fabian-Lars 2025-11-30 07:49:33 +01:00 committed by GitHub
parent f022b2d1ae
commit 1496145f82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
tauri-bundler: patch:bug
---
Fixed an issue that caused the AppImage bundler to fail with 404 errors for 32-bit builds.

View File

@ -232,7 +232,7 @@ fn prepare_tools(tools_path: &Path, arch: &str, verbose: bool) -> crate::Result<
write_and_make_executable(&apprun, &data)?;
}
let linuxdeploy_arch = if arch == "i686" { "i383" } else { arch };
let linuxdeploy_arch = if arch == "i686" { "i386" } else { arch };
let linuxdeploy = tools_path.join(format!("linuxdeploy-{linuxdeploy_arch}.AppImage"));
if !linuxdeploy.exists() {
let data = download(&format!("https://github.com/tauri-apps/binary-releases/releases/download/linuxdeploy/linuxdeploy-{linuxdeploy_arch}.AppImage"))?;