Skip to content

Commit

Permalink
Fix update download link for beta
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Oct 19, 2024
1 parent af7e183 commit 48267bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/UpdateChecker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,11 @@ export default class UpdateChecker {
let responseString = this.alertOptions[result.response];
if (responseString === "Download") {
if (this.alertDownloadUrl === null) {
await shell.openExternal("https://github.com/" + REPOSITORY + "/releases/latest");
if (isBeta()) {
await shell.openExternal("https://github.com/" + REPOSITORY + "/releases");
} else {
await shell.openExternal("https://github.com/" + REPOSITORY + "/releases/latest");
}
} else {
await shell.openExternal(this.alertDownloadUrl);
}
Expand Down

0 comments on commit 48267bf

Please sign in to comment.