From 48267bfc27ad3c0f16451c711f1f2f7008662570 Mon Sep 17 00:00:00 2001 From: Jonah <47046556+jwbonner@users.noreply.github.com> Date: Fri, 18 Oct 2024 22:27:28 -0400 Subject: [PATCH] Fix update download link for beta --- src/main/UpdateChecker.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/UpdateChecker.ts b/src/main/UpdateChecker.ts index 227670b4..2bfa768b 100644 --- a/src/main/UpdateChecker.ts +++ b/src/main/UpdateChecker.ts @@ -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); }