From 20ab443fa6236b9d9b1eff8136b34c487d16cb07 Mon Sep 17 00:00:00 2001 From: arkon Date: Mon, 13 Sep 2021 18:30:03 -0400 Subject: [PATCH] Update stable release APK URL --- src/.vuepress/components/DownloadButtons.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/.vuepress/components/DownloadButtons.vue b/src/.vuepress/components/DownloadButtons.vue index bfce2986..20b12ba7 100644 --- a/src/.vuepress/components/DownloadButtons.vue +++ b/src/.vuepress/components/DownloadButtons.vue @@ -34,7 +34,7 @@ export default { async mounted() { try { const { data } = await this.$store.dispatch("getStableReleaseData"); - const apkAsset = data.assets.find((a) => a.name.includes(".apk")); + const apkAsset = data.assets.find((a) => /^tachiyomi-v\d+\.\d+\.\d+.apk/.test(a.name)); this.$data.tagName = data.tag_name.slice(1); this.$data.browserDownloadUrl = apkAsset.browser_download_url; } catch (e) {