diff --git a/app/page.jsx b/app/page.jsx index 78ee95f..d9e401d 100644 --- a/app/page.jsx +++ b/app/page.jsx @@ -132,18 +132,18 @@ export default function Home() {
{deviceType !== "pc" && ( - <> - { + const url = deviceType === "ios" ? "itms-services://?action=download-manifest&url=https://filecdn01.tiefen.fun/appdownload/ironfans.plist" - : "https://filecdn01.tiefen.fun/appdownload/ironfans1.4.5.apk" - } - > - 安装 - - + : "https://filecdn01.tiefen.fun/appdownload/ironfans1.4.5.apk"; + window.location.href = url; + }} + > + 安装 +
)} {deviceType !== "Android" && (