@sokeai/cli 1.0.83 → 1.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/install.js +1 -1
package/package.json
CHANGED
package/scripts/install.js
CHANGED
|
@@ -429,7 +429,7 @@ const binaryName = platform === 'win32' ? 'soke-cli.exe' : 'soke-cli';
|
|
|
429
429
|
const binaryFileName = `soke-cli-${mappedPlatform}-${mappedArch}${platform === 'win32' ? '.exe' : ''}`;
|
|
430
430
|
|
|
431
431
|
// 默认 CDN 二进制源。用户安装时会优先从这里下载,失败后回退 GitHub Releases。
|
|
432
|
-
const DEFAULT_BINARY_HOST = 'https://
|
|
432
|
+
const DEFAULT_BINARY_HOST = 'https://soke-frontendstatic-cdn.soke.cn/soke-cli/releases';
|
|
433
433
|
const GITHUB_RELEASE_HOST = 'https://github.com/sokeai/soke-cli/releases/download';
|
|
434
434
|
|
|
435
435
|
const binDir = path.join(__dirname, '..', 'bin');
|