fix(bundler): Use appimage files instead of debian files when building appimage (#11005)

* use appimage settings instead of deb

* add changeset
This commit is contained in:
Guilherme Oenning 2024-09-15 12:36:04 +01:00 committed by GitHub
parent 6c5340f8b2
commit 44d54a0710
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
---
Use appimage files instead of debian files when building appimage

View File

@ -35,7 +35,7 @@ pub fn bundle_project(settings: &Settings) -> crate::Result<Vec<PathBuf>> {
// generate deb_folder structure
let (data_dir, icons) = debian::generate_data(settings, &package_dir)
.with_context(|| "Failed to build data folders and files")?;
common::copy_custom_files(&settings.deb().files, &data_dir)
common::copy_custom_files(&settings.appimage().files, &data_dir)
.with_context(|| "Failed to copy custom files")?;
let output_path = settings.project_out_directory().join("bundle/appimage");