Bläddra i källkod

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

* use appimage settings instead of deb

* add changeset
Guilherme Oenning 10 månader sedan
förälder
incheckning
44d54a0710

+ 5 - 0
.changes/bundler-appimage-files.md

@@ -0,0 +1,5 @@
+---
+"tauri-bundler": patch:bug
+---
+
+Use appimage files instead of debian files when building appimage

+ 1 - 1
crates/tauri-bundler/src/bundle/linux/appimage.rs

@@ -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");