Skip to content

Commit fa31576

Browse files
committed
only try to download when not just checking
1 parent 0e5ac99 commit fa31576

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ public static File getConfigExecutable(String exeType, IExternalEditor editor) {
332332
return getExecutable(exeType, editor, executable,false);
333333
}
334334
private static void retryLoop(String exeType, IExternalEditor editor, String executable,boolean justChecking) {
335+
if(justChecking)
336+
return;
335337
for(int i=0;i<3;i++) {
336338
if(getExecutable(exeType, editor, executable,justChecking).exists()) {
337339
return;

0 commit comments

Comments
 (0)