Skip to content

Commit 06d4a4e

Browse files
authored
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
1 parent a99601e commit 06d4a4e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changes/linuxdeploy-extract.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
tauri-bundler: patch:bug
3+
---
4+
5+
Set `APPIMAGE_EXTRACT_AND_RUN` on top of using the `--appimage-extra-and-run` cli arg for linuxdeploy.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ pub fn bundle_project(settings: &Settings) -> crate::Result<Vec<PathBuf>> {
190190
let mut cmd = Command::new(linuxdeploy_path);
191191
cmd.env("OUTPUT", &appimage_path);
192192
cmd.env("ARCH", tools_arch);
193+
// Looks like the cli arg isn't enough for the updated AppImage output-plugin.
194+
cmd.env("APPIMAGE_EXTRACT_AND_RUN", "1");
193195
cmd.args([
194196
"--appimage-extract-and-run",
195197
"--verbosity",

0 commit comments

Comments
 (0)