mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-02 20:36:44 +00:00
faster test with --version
This commit is contained in:
parent
42d40b8171
commit
f2afd7cb69
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue