From ca5883ace8b3b9dbe803d5f65d62bc10821fbdda Mon Sep 17 00:00:00 2001 From: Manus Date: Mon, 9 Mar 2026 09:11:43 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DTronLink=E5=92=8CToken?= =?UTF-8?q?Pocket=20DeepLink=E5=8D=8F=E8=AE=AE=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - TronLink: pull?param -> pull.activity?param (官方文档格式) - TronLink: 添加version:1.0字段 - TokenPocket: tpoutside://pull -> tpdapp://open (DApp浏览器协议) - 已部署到AI服务器(43.224.155.27)和备份服务器(103.96.148.7) --- client/src/components/WalletSelector.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/components/WalletSelector.tsx b/client/src/components/WalletSelector.tsx index 2dd2ab6..c26cf91 100644 --- a/client/src/components/WalletSelector.tsx +++ b/client/src/components/WalletSelector.tsx @@ -315,7 +315,7 @@ function buildWallets(showTron: boolean): WalletInfo[] { icon: , installUrl: "https://www.tronlink.org/", // TronLink mobile DeepLink — opens current URL in TronLink's built-in browser - mobileDeepLink: `tronlinkoutside://pull?param=${encodeURIComponent(JSON.stringify({ url: currentUrl, action: "open", protocol: "tronlink" }))}`, + mobileDeepLink: `tronlinkoutside://pull.activity?param=${encodeURIComponent(JSON.stringify({ url: currentUrl, action: "open", protocol: "tronlink", version: "1.0" }))}`, isInstalled: () => !!getTronLink(), connect: async () => { const tron = getTronLink(); @@ -354,7 +354,7 @@ function MobileDeepLinkPanel({ lang, showTron }: { lang: Lang; showTron: boolean id: "tronlink", name: "TronLink", icon: , - deepLink: `tronlinkoutside://pull?param=${encodeURIComponent(JSON.stringify({ url: currentUrl, action: "open", protocol: "tronlink" }))}`, + deepLink: `tronlinkoutside://pull.activity?param=${encodeURIComponent(JSON.stringify({ url: currentUrl, action: "open", protocol: "tronlink", version: "1.0" }))}`, installUrl: "https://www.tronlink.org/", badge: "TRON", badgeColor: "#FF0013", @@ -393,7 +393,7 @@ function MobileDeepLinkPanel({ lang, showTron }: { lang: Lang; showTron: boolean id: "tokenpocket", name: "TokenPocket", icon: , - deepLink: `tpoutside://pull?param=${encodeURIComponent(JSON.stringify({ url: currentUrl }))}`, + deepLink: `tpdapp://open?params=${encodeURIComponent(JSON.stringify({ url: currentUrl, chain: "ETH", source: "NAC-Presale" }))}`, installUrl: "https://www.tokenpocket.pro/en/download/app", badge: "EVM/TRON", badgeColor: "#2980FE",