MCPcopy
hub / github.com/ZToolsCenter/ZTools / selectDownloadUrl

Method selectDownloadUrl

src/main/api/updater.ts:184–187  ·  view source on GitHub ↗

* 根据平台选择下载URL

(updateInfo: any)

Source from the content-addressed store, hash-verified

182 * 根据平台选择下载URL
183 */
184 private selectDownloadUrl(updateInfo: any): string {
185 // 直接使用 updateInfo 中的 downloadUrl
186 return updateInfo.downloadUrl
187 }
188
189 /**
190 * 构建更新包下载 URL

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected