From 44d54a07107edd38f31be15b49ddca0cacc335e5 Mon Sep 17 00:00:00 2001 From: Guilherme Oenning Date: Sun, 15 Sep 2024 12:36:04 +0100 Subject: [PATCH] fix(bundler): Use appimage files instead of debian files when building appimage (#11005) * use appimage settings instead of deb * add changeset --- .changes/bundler-appimage-files.md | 5 +++++ crates/tauri-bundler/src/bundle/linux/appimage.rs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changes/bundler-appimage-files.md diff --git a/.changes/bundler-appimage-files.md b/.changes/bundler-appimage-files.md new file mode 100644 index 000000000000..895b3d506e44 --- /dev/null +++ b/.changes/bundler-appimage-files.md @@ -0,0 +1,5 @@ +--- +"tauri-bundler": patch:bug +--- + +Use appimage files instead of debian files when building appimage \ No newline at end of file diff --git a/crates/tauri-bundler/src/bundle/linux/appimage.rs b/crates/tauri-bundler/src/bundle/linux/appimage.rs index ed8a730edf72..167fcd4030c3 100644 --- a/crates/tauri-bundler/src/bundle/linux/appimage.rs +++ b/crates/tauri-bundler/src/bundle/linux/appimage.rs @@ -35,7 +35,7 @@ pub fn bundle_project(settings: &Settings) -> crate::Result> { // 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");