Skip to content

Commit

Permalink
🐞 fix: fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
xytoki committed Nov 16, 2023
1 parent 7b96413 commit f4b2ec1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 16 deletions.
9 changes: 2 additions & 7 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,10 @@
<h4>本地使用</h4>
<div>如需离线使用,请点这里下载本地专用版。</div>
</a>
<a
:class="$style.card"
href="https://support.qq.com/products/417765"
target="_blank"
@click.prevent="clicktxc"
>
<a :class="$style.card" href="https://github.com/YuehaiTeam/cocogoat/issues" target="_blank">
<fa-icon icon="message" />
<h4>反馈问题</h4>
<div>无论功能反馈还是聊天吹水,都可以前往 兔小巢 反馈。</div>
<div>无论功能反馈还是聊天吹水,都可以前往 Github Issues 反馈。</div>
</a>
</div>
<div :class="$style.copyright">&copy;2022-2023 YuehaiTeam cocogoat.work <build-info /></div>
Expand Down
34 changes: 25 additions & 9 deletions src/views/Installer/urls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,59 @@ import { apibase } from '@/utils/apibase'

export const urls = {
'pc-cn': {
name: '天空岛(国服)',
name: '原神',
url: 'https://sdk-static.mihoyo.com/hk4e_cn/mdk/launcher/api/resource?key=eYd89JmJ&launcher_id=18&channel_id=1',
},
'pc-bili': {
name: '世界树(BiliBili)',
name: '原神(BiliBili)',
url: 'https://sdk-static.mihoyo.com/hk4e_cn/mdk/launcher/api/resource?key=KAtdSsoQ&launcher_id=17&channel_id=14',
},
'pc-hk': {
name: '海外',
name: '原神(海外)',
url: 'https://sdk-os-static.mihoyo.com/hk4e_global/mdk/launcher/api/resource?channel_id=1&key=gcStgarh&launcher_id=10&sub_channel_id=0',
},
'hkrpg-cn': {
name: '崩坏:星穹铁道',
url: 'https://api-launcher-static.mihoyo.com/hkrpg_cn/mdk/launcher/api/resource?channel_id=1&key=6KcVuOkbcqjJomjZ&launcher_id=33&sub_channel_id=1',
},
'hkrpg-bili': {
name: '崩坏:星穹铁道(BiliBili)',
url: 'https://api-launcher-static.mihoyo.com/hkrpg_cn/mdk/launcher/api/resource?channel_id=14&key=fSPJNRwFHRipkprW&launcher_id=28&sub_channel_id=0',
},
'hkrpg-os': {
name: '崩坏:星穹铁道(海外)',
url: apibase('/3rdparty/installer/hkrpg-os?channel_id=1&key=vplOVX8Vn7cwG8yb&launcher_id=35&sub_channel_id=1'),
url: apibase(
'/3rdparty/mhyproxy/hkrpg-launcher-static.hoyoverse.com/hkrpg_global/mdk/launcher/api/resource?channel_id=1&key=vplOVX8Vn7cwG8yb&launcher_id=35&sub_channel_id=1',
),
},
'bh3-cn': {
name: '崩坏3',
url: 'https://sdk-static.mihoyo.com/bh3_cn/mdk/launcher/api/resource?channel_id=1&key=SyvuPnqL&launcher_id=4&sub_channel_id=1',
url: apibase(
'/3rdparty/mhyproxy/bh3-launcher-static.mihoyo.com/bh3_cn/mdk/launcher/api/resource?channel_id=1&key=SyvuPnqL&launcher_id=4&sub_channel_id=1',
),
},
'bh3-os': {
name: '崩坏3(国际)',
url: apibase('/3rdparty/installer/bh3-os?channel_id=1&key=dpz65xJ3&launcher_id=10&sub_channel_id=1'),
url: apibase(
'/3rdparty/mhyproxy/sdk-os-static.mihoyo.com/bh3_global/mdk/launcher/api/resource?channel_id=1&key=dpz65xJ3&launcher_id=10&sub_channel_id=1',
),
},
'bh3-tw': {
name: '崩坏3(台)',
url: apibase('/3rdparty/installer/bh3-os?channel_id=1&key=demhUTcW&launcher_id=8&sub_channel_id=1'),
url: apibase(
'/3rdparty/mhyproxy/sdk-os-static.mihoyo.com/bh3_global/mdk/launcher/api/resource?channel_id=1&key=demhUTcW&launcher_id=8&sub_channel_id=1',
),
},
'bh3-jp': {
name: '崩坏3(日)',
url: apibase('/3rdparty/installer/bh3-os?channel_id=1&key=ojevZ0EyIyZNCy4n&launcher_id=19&sub_channel_id=6'),
url: apibase(
'/3rdparty/mhyproxy/sdk-os-static.mihoyo.com/bh3_global/mdk/launcher/api/resource?channel_id=1&key=ojevZ0EyIyZNCy4n&launcher_id=19&sub_channel_id=6',
),
},
'bh3-kr': {
name: '崩坏3(韩)',
url: apibase('/3rdparty/installer/bh3-os?channel_id=1&key=PRg571Xh&launcher_id=11&sub_channel_id=1'),
url: apibase(
'/3rdparty/mhyproxy/sdk-os-static.mihoyo.com/bh3_global/mdk/launcher/api/resource?channel_id=1&key=PRg571Xh&launcher_id=11&sub_channel_id=1',
),
},
} as Record<string, { name: string; url: string | Promise<string> }>

0 comments on commit f4b2ec1

Please sign in to comment.