Skip to content

Commit

Permalink
Search for updates instead of telling the user if no versions are ins…
Browse files Browse the repository at this point in the history
…talled when trying to launch Chunky. (#1675)

Fixes #1304
  • Loading branch information
leMaik authored Dec 23, 2023
1 parent a7f15dd commit 7ee31cb
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,12 @@ public void launchChunky() {

// Resolve specific version.
VersionInfo version = ChunkyDeployer.resolveVersion(settings.version);
if (version == VersionInfo.NONE) {
setBusy(true);
UpdateChecker updateThread = new UpdateChecker(settings, settings.selectedChannel, this);
updateThread.start();
return;
}
if (!ChunkyDeployer.canLaunch(version, this, true)) {
return;
}
Expand Down

0 comments on commit 7ee31cb

Please sign in to comment.