diff --git a/lib/frpc.js b/lib/frpc.js index cda6f89..17ff7c3 100644 --- a/lib/frpc.js +++ b/lib/frpc.js @@ -78,7 +78,11 @@ async function downloadFrpc() { const frpArch = archMap[arch] || 'amd64'; const filename = `frp_${FRP_VERSION}_${platform}_${frpArch}.tar.gz`; - const url = `https://github.com/fatedier/frp/releases/download/v${FRP_VERSION}/${filename}`; + const releaseBase = 'https://git.cutos.ai/claw-daemon/fatedier/releases/download'; + const attachmentMap = { + 'linux/arm64': 'https://git.cutos.ai/attachments/071748ed-955b-44c0-8dfb-38396b5dae6e', + }; + const url = attachmentMap[`${platform}/${frpArch}`] || `${releaseBase}/v${FRP_VERSION}/${filename}`; const tmpFile = `/tmp/${filename}`; log.info('frpc', `下载 frpc ${FRP_VERSION} (${platform}/${frpArch})...`);