Skip to content

Commit

Permalink
Merge pull request #274 from GuoXiCheng/dev-c
Browse files Browse the repository at this point in the history
update docs
  • Loading branch information
GuoXiCheng authored Oct 17, 2024
2 parents 4d9869a + 815f591 commit dc0dd17
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 13 deletions.
20 changes: 20 additions & 0 deletions docs/guide/intro/DownloadApp.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<template>
<a v-if="latestVersion" :href="downloadUrl" target="_blank" rel="noreferrer"> {{ downloadApkName }} </a>
</template>

<script setup lang="ts">
import { onMounted, ref } from "vue";
const latestVersion = ref<null | string>(null);
const downloadUrl = ref<string>("");
const downloadApkName = ref<string>("");
onMounted(async () => {
const response = await fetch("https://skip.guoxicheng.top/latest_version.txt");
if (response.status !== 200) return;
latestVersion.value = await response.text();
downloadUrl.value = `https://skip.guoxicheng.top/SKIP-v${latestVersion.value}.apk`;
downloadApkName.value = `SKIP-v${latestVersion.value}.apk`;
});
</script>
23 changes: 10 additions & 13 deletions docs/guide/intro/download-app.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
# 下载 APP

## 直接下载

[SKIP-v3.0.0.apk](https://skip.guoxicheng.top/SKIP-v3.0.0.apk)

## Github Release

[Github Releases](https://github.com/GuoXiCheng/SKIP/releases)

## 网盘转存

[夸克网盘](https://pan.quark.cn/s/8502a8ff74c3)

[百度网盘](https://pan.baidu.com/s/1tDXPcEUSZj5qNkOEmToz0A?pwd=m9u9)
| 下载方式 | 下载地址 |
| -------- | -------------------------------------------------------------------- |
| 直接下载 | <DownloadApp /> |
| Github | [点击跳转](https://github.com/GuoXiCheng/SKIP/releases) |
| 夸克网盘 | [点击跳转](https://pan.quark.cn/s/8502a8ff74c3) |
| 百度网盘 | [点击跳转](https://pan.baidu.com/s/1tDXPcEUSZj5qNkOEmToz0A?pwd=m9u9) |

<script setup>
import DownloadApp from './DownloadApp.vue'
</script>

0 comments on commit dc0dd17

Please sign in to comment.