diff --git a/ext/base/src/main/java/io/xpipe/ext/base/browser/compress/BaseUntarAction.java b/ext/base/src/main/java/io/xpipe/ext/base/browser/compress/BaseUntarAction.java index b9ec85083..2120ba47d 100644 --- a/ext/base/src/main/java/io/xpipe/ext/base/browser/compress/BaseUntarAction.java +++ b/ext/base/src/main/java/io/xpipe/ext/base/browser/compress/BaseUntarAction.java @@ -49,7 +49,7 @@ public class BaseUntarAction implements ApplicationPathAction, LeafAction { if (toDirectory) { model.getFileSystem().mkdirs(target); } - sc.command(c).execute(); + sc.command(c).withWorkingDirectory(model.getCurrentDirectory().getPath()).execute(); } }, true); }