@offckb/cli 0.4.4-canary-659966d.0 → 0.4.4-canary-c8d18ae.0
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/build/index.js +4 -2
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -2452,7 +2452,8 @@ function isPortable() {
|
|
|
2452
2452
|
function buildCKBGithubReleasePackageName(version, opt = {}) {
|
|
2453
2453
|
const os = opt.os || getOS();
|
|
2454
2454
|
const arch = opt.arch || getArch();
|
|
2455
|
-
if (isPortable()) {
|
|
2455
|
+
if (isPortable() && os !== 'pc-windows-msvc') {
|
|
2456
|
+
// portable binary is not available for windows
|
|
2456
2457
|
return `ckb_v${version}_${arch}-${os}-portable`;
|
|
2457
2458
|
}
|
|
2458
2459
|
else {
|
|
@@ -2463,7 +2464,8 @@ function buildCKBGithubReleasePackageNameWithExtension(version, opt = {}) {
|
|
|
2463
2464
|
const os = opt.os || getOS();
|
|
2464
2465
|
const arch = opt.arch || getArch();
|
|
2465
2466
|
const extension = opt.ext || getExtension();
|
|
2466
|
-
if (isPortable()) {
|
|
2467
|
+
if (isPortable() && os !== 'pc-windows-msvc') {
|
|
2468
|
+
// portable binary is not available for windows
|
|
2467
2469
|
return `ckb_v${version}_${arch}-${os}-portable.${extension}`;
|
|
2468
2470
|
}
|
|
2469
2471
|
else {
|