完善更新下载链接逻辑

This commit is contained in:
yezian 2024-12-04 13:27:48 +08:00
parent 027d3fa51b
commit f0767373d6
1 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ export default function Home() {
{deviceType === "pc" && (
<div className="flex flex-row gap-20">
<a
href="https://filecdntx01.tiefen.fun/appdownload/ironfans1.5.2.apk"
href={installInfo?.android_url}
className="group relative cursor-pointer w-20 h-20 rounded-full bg-[#FFFFFF1A]"
>
<p className="group-hover:opacity-100 opacity-0 transition-all duration-300 absolute flex w-full h-full items-center justify-center text-white text-xs">
@ -157,7 +157,7 @@ export default function Home() {
</div>
</a>
<a
href="itms-services://?action=download-manifest&url=https://filecdntx01.tiefen.fun/appdownload/ironfans.plist"
href={`itms-services://?action=download-manifest&url=${installInfo?.ios_url}`}
className="group relative cursor-pointer w-20 h-20 rounded-full bg-[#FFFFFF1A]"
>
<p className="group-hover:opacity-100 opacity-0 transition-all duration-300 text-center p-3 absolute flex w-full h-full items-center justify-center text-white text-xs">