Fix repo deep link (#1115)

Co-authored-by: arkon <arkon@users.noreply.github.com>
This commit is contained in:
arkon 2024-01-09 18:00:41 -05:00 committed by GitHub
parent be3ebdc898
commit 91a5980f2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,9 +10,6 @@ function handleAnalytics() {
}) })
} }
const url = new URL('tachiyomi://add-repo')
url.searchParams.append('url', 'https://raw.githubusercontent.com/tachiyomiorg/extensions/repo/index.min.json')
const isAndroid = ref(true) const isAndroid = ref(true)
onMounted(() => { onMounted(() => {
@ -48,7 +45,7 @@ onMounted(() => {
<div class="action-buttons"> <div class="action-buttons">
<a <a
class="action-button primary" class="action-button primary"
:href="url" href="tachiyomi://add-repo?url=https://raw.githubusercontent.com/tachiyomiorg/extensions/repo/index.min.json"
@click="handleAnalytics()" @click="handleAnalytics()"
> >
<IconDownload /> <IconDownload />