From e17827c0dd92108fac04f0415f487013f8bfe1ef Mon Sep 17 00:00:00 2001 From: crschnick Date: Sun, 12 Apr 2026 12:56:42 +0000 Subject: [PATCH] Fix PTB [stage] --- app/src/main/java/io/xpipe/app/process/ShellTemp.java | 6 ++---- dist/changelog/22.10.md | 1 + version | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 dist/changelog/22.10.md diff --git a/app/src/main/java/io/xpipe/app/process/ShellTemp.java b/app/src/main/java/io/xpipe/app/process/ShellTemp.java index 953d63e10..96a04f422 100644 --- a/app/src/main/java/io/xpipe/app/process/ShellTemp.java +++ b/app/src/main/java/io/xpipe/app/process/ShellTemp.java @@ -16,8 +16,7 @@ public class ShellTemp { // Even on macOS as root it is technically unique as only root will use /tmp if (proc.getOsType() != OsType.WINDOWS && proc.getOsType() != OsType.MACOS) { var temp = proc.getSystemTemporaryDirectory(); - // Prevent interference with xpipe-* temp files - base = temp.join(AppNames.ofCurrent().getKebapName().replace("-", "_")); + base = temp.join(AppNames.ofCurrent().getKebapName()); proc.view().mkdir(base); // We have to make sure that also other users can create files here // This command should work in all shells @@ -31,8 +30,7 @@ public class ShellTemp { .executeAndCheck(); } else { var temp = proc.getSystemTemporaryDirectory(); - // Prevent interference with xpipe-* temp files - base = temp.join(AppNames.ofCurrent().getKebapName().replace("-", "_")); + base = temp.join(AppNames.ofCurrent().getKebapName()); } return sub != null ? base.join(sub) : base; } diff --git a/dist/changelog/22.10.md b/dist/changelog/22.10.md new file mode 100644 index 000000000..8d1318032 --- /dev/null +++ b/dist/changelog/22.10.md @@ -0,0 +1 @@ +- Fix PTB communication being broken diff --git a/version b/version index edeb5f5f8..dd93bc7ca 100644 --- a/version +++ b/version @@ -1 +1 @@ -22.9 +22.10-1