diff --git a/.changes/linuxdeploy-extract.md b/.changes/linuxdeploy-extract.md new file mode 100644 index 000000000000..d6dceada1a6c --- /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 1dd93d96ee02..0ac365a175bd 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",