From a470ad980eaf5a90e56ac6b47bd23127c1650710 Mon Sep 17 00:00:00 2001 From: jueweijue Date: Wed, 29 May 2024 23:07:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E5=8D=87=E5=9C=A8uc=E6=B5=8F=E8=A7=88?= =?UTF-8?q?=E5=99=A8=E7=9A=84=E5=85=BC=E5=AE=B9=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/page.jsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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" && (