Get the exe path not the dir

This commit is contained in:
idk
2021-07-01 20:32:09 -04:00
parent 7dfd857b43
commit a5db548ad5

View File

@ -53,7 +53,7 @@ public class WindowsUpdatePostProcessor implements UpdatePostProcessor {
private boolean shutdownGracefullyAndRerun() throws InterruptedException {
i2pRouter.shutdownGracefully();
ProcessBuilder pb = new ProcessBuilder("cmd", "/c", selectProgramFile().getAbsolutePath());
ProcessBuilder pb = new ProcessBuilder("cmd", "/c", selectProgramFileExe().getAbsolutePath());
while (i2pRouter.gracefulShutdownInProgress()) {
TimeUnit.MILLISECONDS.sleep(125);
}