Set up NSIS to be silennt

This commit is contained in:
idk
2021-07-01 18:30:23 -04:00
parent ab58ec31ff
commit ffd7bfb834

View File

@@ -25,7 +25,7 @@ public class WindowsUpdatePostProcessor {
private boolean runUpdate(File file){ private boolean runUpdate(File file){
Process updateProcess = null; Process updateProcess = null;
ProcessBuilder pb = new ProcessBuilder("cmd", "/c", file.getAbsolutePath()); ProcessBuilder pb = new ProcessBuilder("cmd", "/c", file.getAbsolutePath(), "/S", "/D="+selectProgramFile());
try { try {
updateProcess = pb.start(); updateProcess = pb.start();
} catch (IOException ex) { } catch (IOException ex) {