Browse Source

faster test with --version

bwt
Craig Raw 4 years ago
parent
commit
f2afd7cb69
  1. 2
      src/main/java/com/sparrowwallet/sparrow/io/Hwi.java

2
src/main/java/com/sparrowwallet/sparrow/io/Hwi.java

@ -235,7 +235,7 @@ public class Hwi {
private boolean testHwi(File hwiExecutable) {
try {
List<String> command = List.of(hwiExecutable.getAbsolutePath(), "enumerate");
List<String> command = List.of(hwiExecutable.getAbsolutePath(), "--version");
ProcessBuilder processBuilder = new ProcessBuilder(command);
Process process = processBuilder.start();
int exitValue = process.waitFor();

Loading…
Cancel
Save