Skip to content

Commit 01a2954

Browse files
committed
fix: 下载和版本检查地址全部改为 testpilot.xinzaoai.com
1 parent b12852d commit 01a2954

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

extension/src/engineManager.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ import * as path from "path";
1717
import * as child_process from "child_process";
1818
import * as os from "os";
1919

20-
// 引擎二进制下载地址(托管在 xinzaoai.com 服务器)
20+
// 引擎二进制下载地址(托管在 testpilot.xinzaoai.com 服务器)
2121
const GITHUB_RELEASE_BASE =
22-
"https://xinzaoai.com/downloads";
22+
"https://testpilot.xinzaoai.com/downloads";
2323

2424
/** 根据当前平台返回对应的二进制文件名 */
2525
function getPlatformBinaryName(): string {
@@ -302,7 +302,7 @@ export class EngineManager {
302302
);
303303
if (action === "前往下载") {
304304
vscode.env.openExternal(
305-
vscode.Uri.parse("https://xinzaoai.com/downloads/testpilot-ai-" + data.latest + ".vsix")
305+
vscode.Uri.parse("https://testpilot.xinzaoai.com/downloads/testpilot-ai-" + data.latest + ".vsix")
306306
);
307307
}
308308
} else if (cmp(currentVersion, data.latest) < 0) {
@@ -313,7 +313,7 @@ export class EngineManager {
313313
);
314314
if (action === "下载更新") {
315315
vscode.env.openExternal(
316-
vscode.Uri.parse("https://xinzaoai.com/downloads/testpilot-ai-" + data.latest + ".vsix")
316+
vscode.Uri.parse("https://testpilot.xinzaoai.com/downloads/testpilot-ai-" + data.latest + ".vsix")
317317
);
318318
}
319319
}

0 commit comments

Comments
 (0)