mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 00:50:31 +00:00
Fix certutil check
This commit is contained in:
parent
fe2334e936
commit
84700d2a27
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ public class AppCertutilCheck {
|
|||
|
||||
private static boolean getResult() {
|
||||
var fc = new ProcessBuilder(System.getenv("WINDIR") + "\\System32\\certutil")
|
||||
.redirectError(ProcessBuilder.Redirect.DISCARD);
|
||||
.redirectErrorStream(true);
|
||||
try {
|
||||
var proc = fc.start();
|
||||
var out = new String(proc.getInputStream().readAllBytes());
|
||||
|
|
Loading…
Reference in a new issue