From e7b4f476b1a969b75c78d55a57dc743309b5c175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?mr=2E=20m=20=20=F0=9F=A4=99?= <91018726+mr-cheff@users.noreply.github.com> Date: Thu, 12 Dec 2024 11:42:21 +0000 Subject: [PATCH] =?UTF-8?q?Actualizar=20enlaces=20de=20descarga=20y=20mejo?= =?UTF-8?q?rar=20la=20l=C3=B3gica=20de=20descarga=20en=20la=20p=C3=A1gina?= =?UTF-8?q?=20de=20descarga?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Footer.astro | 2 +- src/pages/download.astro | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 762d94d..c791c08 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -79,7 +79,7 @@ const Reddit = icon({ prefix: "fab", iconName: "reddit" }); Download Zen Mods Release Notes - Twilight + Twilight
diff --git a/src/pages/download.astro b/src/pages/download.astro index 7abf8ef..fbf7a97 100644 --- a/src/pages/download.astro +++ b/src/pages/download.astro @@ -247,9 +247,10 @@ const appleIcon = icon({ prefix: "fab", iconName: "apple" }); releaseName = releases[os][arch][format]; } const url = `${isTwilight ? TWILIGHT_BASE_URL : BASE_URL}/${releaseName}`; - window.location.replace(url); + console.log("Downloading from", url); + window.open(url, "_blank"); - hideNextButton(); + showThanksPage(); } function goNextForm() {