@esign-ai/esign-cli 1.0.0 → 1.0.2
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/install.js +3 -1
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -210,6 +210,7 @@ async function main() {
|
|
|
210
210
|
fail(`已存在的二进制 SHA256 校验失败: ${destPath},请删除该文件后重新安装`);
|
|
211
211
|
}
|
|
212
212
|
log(`二进制已存在且校验通过,跳过下载: ${destPath}`);
|
|
213
|
+
log(`安装成功: ${pkg.version}`);
|
|
213
214
|
return;
|
|
214
215
|
}
|
|
215
216
|
|
|
@@ -250,7 +251,8 @@ async function main() {
|
|
|
250
251
|
if (process.platform !== 'win32') {
|
|
251
252
|
fs.chmodSync(destPath, 0o755);
|
|
252
253
|
}
|
|
253
|
-
log(
|
|
254
|
+
log(`二进制安装完成: ${destPath}`);
|
|
255
|
+
log(`安装成功: ${pkg.version}`);
|
|
254
256
|
|
|
255
257
|
if (usedFallback) {
|
|
256
258
|
recordFallbackLocation(destPath);
|