Skip to content

Commit a5d3050

Browse files
committed
更新项目版本和README文档
- 将项目版本从 0.5.11 升级到 0.5.12 - 在README中为下载链接添加架构标签(Arm/x64) - 优化首页和store中的分支和发布逻辑 - 移除无用的文档图片
1 parent 12cc4cf commit a5d3050

14 files changed

+38
-33
lines changed

README.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ PakePlus supports installation packages for both ARM and Intel architectures. Mo
3636
<table>
3737
<tr>
3838
<td>DeepSeek
39-
<a href="https://github.com/Sjj1024/PakePlus/releases/download/OtherFiles/DeepSeek_0.0.1_aarch64.dmg">Mac</a>
40-
<a href="https://github.com/Sjj1024/PakePlus/releases/download/OtherFiles/DeepSeek_0.0.1_x64-setup.exe">Windows</a>
41-
<a href="https://github.com/Sjj1024/PakePlus/releases/download/OtherFiles/DeepSeek_0.0.1_amd64.deb">Linux</a>
39+
<a href="https://github.com/Sjj1024/PakePlus/releases/download/OtherFiles/DeepSeek_0.0.1_aarch64.dmg">Mac(Arm)</a>
40+
<a href="https://github.com/Sjj1024/PakePlus/releases/download/OtherFiles/DeepSeek_0.0.1_x64-setup.exe">Windows(x64)</a>
41+
<a href="https://github.com/Sjj1024/PakePlus/releases/download/OtherFiles/DeepSeek_0.0.1_amd64.deb">Linux(x64)</a>
4242
</td>
4343
<td>X (Twitter)
44-
<a href="https://github.com/codegirle/PakePlus/releases/download/Twitter/Twitter_0.0.1_aarch64.dmg">Mac</a>
45-
<a href="https://github.com/codegirle/PakePlus/releases/download/Twitter/Twitter_0.0.1_x64-setup.exe">Windows</a>
46-
<a href="https://github.com/codegirle/PakePlus/releases/download/Twitter/twitter_0.0.1_amd64.deb">Linux</a>
44+
<a href="https://github.com/codegirle/PakePlus/releases/download/Twitter/Twitter_0.0.1_aarch64.dmg">Mac(Arm)</a>
45+
<a href="https://github.com/codegirle/PakePlus/releases/download/Twitter/Twitter_0.0.1_x64-setup.exe">Windows(x64)</a>
46+
<a href="https://github.com/codegirle/PakePlus/releases/download/Twitter/twitter_0.0.1_amd64.deb">Linux(x64)</a>
4747
</td>
4848
</tr>
4949
<tr>
@@ -52,14 +52,14 @@ PakePlus supports installation packages for both ARM and Intel architectures. Mo
5252
</tr>
5353
<tr>
5454
<td>YouTube
55-
<a href="https://github.com/codegirle/PakePlus/releases/download/YouTube/YouTube_0.0.2_aarch64.dmg">Mac</a>
56-
<a href="https://github.com/codegirle/PakePlus/releases/download/YouTube/YouTube_0.0.2_x64-setup.exe">Windows</a>
57-
<a href="https://github.com/codegirle/PakePlus/releases/download/YouTube/you-tube_0.0.2_amd64.deb">Linux</a>
55+
<a href="https://github.com/codegirle/PakePlus/releases/download/YouTube/YouTube_0.0.2_aarch64.dmg">Mac(Arm)</a>
56+
<a href="https://github.com/codegirle/PakePlus/releases/download/YouTube/YouTube_0.0.2_x64-setup.exe">Windows(x64)</a>
57+
<a href="https://github.com/codegirle/PakePlus/releases/download/YouTube/you-tube_0.0.2_amd64.deb">Linux(x64)</a>
5858
</td>
5959
<td>小红书(Red Book)
60-
<a href="https://github.com/Sjj1024/PakePlus/releases/download/OtherFiles/_0.0.1_aarch64.dmg">Mac</a>
61-
<a href="https://github.com/Sjj1024/PakePlus/releases/download/OtherFiles/_0.0.1_x64-setup.exe">Windows</a>
62-
<a href="https://github.com/Sjj1024/PakePlus/releases/download/OtherFiles/_0.0.1_amd64.deb">Linux</a>
60+
<a href="https://github.com/Sjj1024/PakePlus/releases/download/OtherFiles/_0.0.1_aarch64.dmg">Mac(Arm)</a>
61+
<a href="https://github.com/Sjj1024/PakePlus/releases/download/OtherFiles/_0.0.1_x64-setup.exe">Windows(x64)</a>
62+
<a href="https://github.com/Sjj1024/PakePlus/releases/download/OtherFiles/_0.0.1_amd64.deb">Linux(x64)</a>
6363
</td>
6464
</tr>
6565
<tr>
@@ -68,14 +68,14 @@ PakePlus supports installation packages for both ARM and Intel architectures. Mo
6868
</tr>
6969
<tr>
7070
<td>Tiktok
71-
<a href="https://github.com/codegirle/PakePlus/releases/download/Tiktok/Tiktok_0.0.2_aarch64.dmg">Mac</a>
72-
<a href="https://github.com/codegirle/PakePlus/releases/download/Tiktok/Tiktok_0.0.2_x64-setup.exe">Windows</a>
73-
<a href="https://github.com/codegirle/PakePlus/releases/download/Tiktok/tiktok_0.0.2_amd64.deb">Linux</a>
71+
<a href="https://github.com/codegirle/PakePlus/releases/download/Tiktok/Tiktok_0.0.2_aarch64.dmg">Mac(Arm)</a>
72+
<a href="https://github.com/codegirle/PakePlus/releases/download/Tiktok/Tiktok_0.0.2_x64-setup.exe">Windows(x64)</a>
73+
<a href="https://github.com/codegirle/PakePlus/releases/download/Tiktok/tiktok_0.0.2_amd64.deb">Linux(x64)</a>
7474
</td>
7575
<td>抖音
76-
<a href="https://github.com/codegirle/PakePlus/releases/download/Douyin/Douyin_0.0.2_aarch64.dmg">Mac</a>
77-
<a href="https://github.com/codegirle/PakePlus/releases/download/Douyin/Douyin_0.0.2_x64-setup.exe">Windows</a>
78-
<a href="https://github.com/codegirle/PakePlus/releases/download/Douyin/douyin_0.0.2_amd64.deb">Linux</a>
76+
<a href="https://github.com/codegirle/PakePlus/releases/download/Douyin/Douyin_0.0.2_aarch64.dmg">Mac(Arm)</a>
77+
<a href="https://github.com/codegirle/PakePlus/releases/download/Douyin/Douyin_0.0.2_x64-setup.exe">Windows(x64)</a>
78+
<a href="https://github.com/codegirle/PakePlus/releases/download/Douyin/douyin_0.0.2_amd64.deb">Linux(x64)</a>
7979
</td>
8080
</tr>
8181
<tr>

docs/IMG_6480.PNG

-1.9 MB
Binary file not shown.

docs/IMG_6481.PNG

-1.9 MB
Binary file not shown.

docs/Yandex_0.0.1_aarch64.dmg

2.97 MB
Binary file not shown.

docs/Yandex_0.0.1_amd64.deb

3.93 MB
Binary file not shown.

docs/Yandex_0.0.1_x64-setup.exe

1.94 MB
Binary file not shown.

docs/app-icon2.png

-232 KB
Binary file not shown.

docs/redbook_0.0.1_aarch64.dmg

3.03 MB
Binary file not shown.

docs/redbook_0.0.1_amd64.deb

3.94 MB
Binary file not shown.

docs/redbook_0.0.1_x64-setup.exe

1.95 MB
Binary file not shown.

docs/yandex.png

5.11 KB
Loading

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pakeplus",
33
"private": true,
4-
"version": "0.5.11",
4+
"version": "0.5.12",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

src/pages/home.vue

+17-14
Original file line numberDiff line numberDiff line change
@@ -287,18 +287,23 @@ const goProject = async (pro: Project) => {
287287
branchName.value = pro.name
288288
// check branch exist
289289
if (token.value) {
290-
const res: any = await githubApi.getBranch(
291-
store.userInfo.login,
292-
'PakePlus',
293-
branchName.value
294-
)
295-
console.log('getBranch', res)
296-
if (res.status === 200) {
297-
console.log('branch exist')
298-
} else {
299-
console.log('branch not exist')
300-
createBranch(store.userInfo.login, pro.name, store.webCommit.sha)
301-
}
290+
githubApi
291+
.getBranch(store.userInfo.login, 'PakePlus', branchName.value)
292+
.then((res: any) => {
293+
if (res.status === 200) {
294+
console.log('branch exist')
295+
} else {
296+
console.log('branch not exist')
297+
createBranch(
298+
store.userInfo.login,
299+
pro.name,
300+
store.webCommit.sha
301+
)
302+
}
303+
})
304+
.catch((err: any) => {
305+
console.error('getBranch error', err)
306+
})
302307
}
303308
}
304309
@@ -619,8 +624,6 @@ onMounted(() => {
619624
}
620625
getPakePlusInfo()
621626
checkUpdate()
622-
// resetReleaseInfo()
623-
// mergeUpdateRep()
624627
})
625628
</script>
626629

src/store/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -903,13 +903,15 @@ export const usePakeStore = defineStore('pakeplus', {
903903
localStorage.setItem('releases', JSON.stringify(this.releases))
904904
},
905905
async setCurrentRelease() {
906+
console.log('setCurrentRelease', this.currentRelease)
906907
if (
907908
this.releases[this.currentProject.name] &&
908909
this.releases[this.currentProject.name].id !== 0
909910
) {
910911
this.currentRelease = this.releases[this.currentProject.name]
911912
this.getRelease()
912913
} else {
914+
this.currentRelease = { id: 0 }
913915
await this.getRelease()
914916
}
915917
},

0 commit comments

Comments
 (0)