diff --git a/.env.development b/.env.development index 64de0a1..aa2ae2e 100644 --- a/.env.development +++ b/.env.development @@ -6,7 +6,6 @@ VITE_COMPATIBILITY_URL=https://github.com/Ryujinx/Ryujinx-Games-List/issues VITE_GUIDE_URL=https://github.com/Ryujinx/Ryujinx/wiki/Ryujinx-Setup-&-Configuration-Guide VITE_DISCORD_URL=https://discord.gg/VkQYXAZ VITE_RELEASE_URL=https://api.github.com/repos/Ryujinx/release-channel-master/releases/latest -VITE_RELEASE_MACOS_URL=https://api.github.com/repos/Ryujinx/release-channel-macos/releases/latest VITE_OLDER_BUILDS_URL=https://github.com/Ryujinx/release-channel-master/releases VITE_LDN_BUILD_URL=https://www.patreon.com/posts/ldn-2-5-vulkan-70757628 VITE_PATREON_URL=https://patreon.com/Ryujinx diff --git a/.env.production b/.env.production index c97a89e..cc905f6 100644 --- a/.env.production +++ b/.env.production @@ -6,7 +6,6 @@ VITE_COMPATIBILITY_URL=https://github.com/Ryujinx/Ryujinx-Games-List/issues VITE_GUIDE_URL=https://github.com/Ryujinx/Ryujinx/wiki/Ryujinx-Setup-&-Configuration-Guide VITE_DISCORD_URL=https://discord.gg/VkQYXAZ VITE_RELEASE_URL=https://api.github.com/repos/Ryujinx/release-channel-master/releases/latest -VITE_RELEASE_MACOS_URL=https://api.github.com/repos/Ryujinx/release-channel-macos/releases/latest VITE_OLDER_BUILDS_URL=https://github.com/Ryujinx/release-channel-master/releases VITE_LDN_BUILD_URL=https://www.patreon.com/posts/introducing-ldn3-74910544 VITE_PATREON_URL=https://patreon.com/Ryujinx diff --git a/src/views/DownloadPage.vue b/src/views/DownloadPage.vue index b4fa298..4a11153 100644 --- a/src/views/DownloadPage.vue +++ b/src/views/DownloadPage.vue @@ -17,7 +17,6 @@ const OLDER_BUILD_URL = import.meta.env.VITE_OLDER_BUILDS_URL as string; const { t } = useI18n(); const isLoading = ref(true); const downloadRelease = ref({} as DownloadRelease); -const downloadMacOSRelease = ref({} as DownloadRelease); const macosBuildUrl = ref(""); const linuxBuildUrl = ref(""); const windowBuildUrl = ref(""); @@ -48,6 +47,10 @@ const fetchBuilds = async () => { windowBuildUrl.value = asset.browser_download_url; } else if (asset.name.endsWith("linux_x64.tar.gz")) { linuxBuildUrl.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; } } }); @@ -55,21 +58,6 @@ const fetchBuilds = async () => { console.error(err); } - try { - const result = await axios.get( - import.meta.env.VITE_RELEASE_MACOS_URL - ); - - downloadMacOSRelease.value = result.data; - downloadMacOSRelease.value?.assets.forEach((asset) => { - if (asset.name.toLowerCase().startsWith("ryujinx")) { - if (asset.name.endsWith(".app.tar.gz")) { - macosBuildUrl.value = asset.browser_download_url; - } - } - }); - } catch (err) {} - isLoading.value = false; }; @@ -183,7 +171,7 @@ const fetchBuilds = async () => {
- {{ downloadMacOSRelease.tag_name }} + {{ downloadRelease.tag_name }}
macos logo