Skip to content

Commit d224592

Browse files
Kevin Bad NameKevin Bad Name
authored andcommitted
restore the 7z download
1 parent e28c9a0 commit d224592

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/neuronrobotics/bowlerstudio/scripting/DownloadManager.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -414,9 +414,9 @@ private static File getExecutable(String exeType, IExternalEditor editor, String
414414
}
415415
// extract7zArchive
416416
if (type.toLowerCase().contains("7z")) {
417-
// if (isWin() && !exeType.contentEquals("sevenzip")) {
418-
// extract7zSystemCall(jvmArchive.getAbsolutePath(), bindir + targetdir);
419-
// } else
417+
if (isWin() && !exeType.contentEquals("sevenzip")) {
418+
extract7zSystemCall(jvmArchive.getAbsolutePath(), bindir + targetdir);
419+
} else
420420
extract7zArchive(jvmArchive.getAbsolutePath(), bindir + targetdir);
421421
}
422422
Object installer = vm.get("installer");

0 commit comments

Comments
 (0)