Skip to content

Commit

Permalink
Kick the download to the OS in case that the local instaall fails
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Oct 20, 2024
1 parent 02299df commit 9a615a8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/main/java/com/neuronrobotics/bowlerstudio/BowlerStudio.java
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,16 @@ public boolean get(String name, String url) {

return buttonType.equals(ButtonType.OK);
}

@Override
public void onInstallFail(String url) {
try {
BowlerStudio.openExternalWebpage(new URL(url));
} catch (MalformedURLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
});
renderSplashFrame(92, "Launching UI");
launch();
Expand Down

0 comments on commit 9a615a8

Please sign in to comment.