From 06d4a4ed6c146d6c7782016cf90037b56b944445 Mon Sep 17 00:00:00 2001 From: Fabian-Lars Date: Mon, 6 Oct 2025 18:11:35 +0200 Subject: [PATCH] fix(bundler): set APPIMAGE_EXTRACT_AND_RUN env var as well for linuxdeploy (#14241) * fix(bundler): set APPIMAGE_EXTRACT_AND_RUN env var as well for linuxdeploy * Aktualisieren von linuxdeploy-extract.md --- .changes/linuxdeploy-extract.md | 5 +++++ crates/tauri-bundler/src/bundle/linux/appimage.rs | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changes/linuxdeploy-extract.md diff --git a/.changes/linuxdeploy-extract.md b/.changes/linuxdeploy-extract.md new file mode 100644 index 000000000..d6dceada1 --- /dev/null +++ b/.changes/linuxdeploy-extract.md @@ -0,0 +1,5 @@ +--- +tauri-bundler: patch:bug +--- + +Set `APPIMAGE_EXTRACT_AND_RUN` on top of using the `--appimage-extra-and-run` cli arg for linuxdeploy. diff --git a/crates/tauri-bundler/src/bundle/linux/appimage.rs b/crates/tauri-bundler/src/bundle/linux/appimage.rs index 1dd93d96e..0ac365a17 100644 --- a/crates/tauri-bundler/src/bundle/linux/appimage.rs +++ b/crates/tauri-bundler/src/bundle/linux/appimage.rs @@ -190,6 +190,8 @@ pub fn bundle_project(settings: &Settings) -> crate::Result> { let mut cmd = Command::new(linuxdeploy_path); cmd.env("OUTPUT", &appimage_path); cmd.env("ARCH", tools_arch); + // Looks like the cli arg isn't enough for the updated AppImage output-plugin. + cmd.env("APPIMAGE_EXTRACT_AND_RUN", "1"); cmd.args([ "--appimage-extract-and-run", "--verbosity",