From 8d7c1f284e5f5313eed32a4c20da28dd76f37f3a Mon Sep 17 00:00:00 2001 From: Mary Guillemard Date: Tue, 13 Feb 2024 19:31:21 +0100 Subject: [PATCH] Add Linux arm64 and Flathub links Signed-off-by: Mary Guillemard --- src/i18n/locales/en/views/download.json | 7 +- src/views/DownloadPage.vue | 240 ++++++++++-------------- 2 files changed, 100 insertions(+), 147 deletions(-) diff --git a/src/i18n/locales/en/views/download.json b/src/i18n/locales/en/views/download.json index c536189..2a2b5f0 100644 --- a/src/i18n/locales/en/views/download.json +++ b/src/i18n/locales/en/views/download.json @@ -6,9 +6,10 @@ "download": "Download", "notSupported": "Currently not supported", "supportPlanned": "Support planned", - "supportWindows": "For Windows 10 & 11", - "supportLinux": "For the most common Linux distros", - "supportMacOS": "For macOS 12 and later (Intel and Apple Silicon)", + "supportWindows": "For Windows 10 & 11 (x86_64)", + "supportLinuxIntel": "For GNU/Linux (x86_64)", + "supportLinuxArm64": "For GNU/Linux (arm64)", + "supportMacOS": "For macOS 12 and later", "buildInformation": "Build information", "buildRelease": "This build was released on {0}", "assets": "assets", diff --git a/src/views/DownloadPage.vue b/src/views/DownloadPage.vue index 4a11153..1f60a2c 100644 --- a/src/views/DownloadPage.vue +++ b/src/views/DownloadPage.vue @@ -18,7 +18,8 @@ const { t } = useI18n(); const isLoading = ref(true); const downloadRelease = ref({} as DownloadRelease); const macosBuildUrl = ref(""); -const linuxBuildUrl = ref(""); +const linuxIntelBuildUrl = ref(""); +const linuxArm64BuildUrl = ref(""); const windowBuildUrl = ref(""); onMounted(() => { @@ -46,8 +47,10 @@ const fetchBuilds = async () => { if (asset.name.endsWith("win_x64.zip")) { windowBuildUrl.value = asset.browser_download_url; } else if (asset.name.endsWith("linux_x64.tar.gz")) { - linuxBuildUrl.value = asset.browser_download_url; - } + linuxIntelBuildUrl.value = asset.browser_download_url; + } else if (asset.name.endsWith("linux_arm64.tar.gz")) { + linuxArm64BuildUrl.value = asset.browser_download_url; + } } else if (asset.name.startsWith("test-ava-ryujinx")) { if (asset.name.endsWith("macos_universal.app.tar.gz")) { macosBuildUrl.value = asset.browser_download_url; @@ -66,111 +69,55 @@ const fetchBuilds = async () => {
-
+
- - {{ t("views.download.title2") }} + + {{ + t("views.download.title2") }}
- - {{ t("views.download.startupGuide") }} + + {{ t("views.download.startupGuide") }}
-
+