mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-24 08:18:33 -04:00
Add chmod browser action
This commit is contained in:
@@ -5,6 +5,7 @@ import lombok.SneakyThrows;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.SequencedCollection;
|
||||
|
||||
public class CommandBuilder {
|
||||
|
||||
@@ -121,6 +122,11 @@ public class CommandBuilder {
|
||||
return this;
|
||||
}
|
||||
|
||||
public CommandBuilder addFiles(SequencedCollection<String> s) {
|
||||
s.forEach(this::addFile);
|
||||
return this;
|
||||
}
|
||||
|
||||
public String build(ShellControl sc) throws Exception {
|
||||
List<String> list = new ArrayList<>();
|
||||
for (Element element : elements) {
|
||||
|
||||
Reference in New Issue
Block a user