pi-flash 0.5.0 → 0.5.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.
Files changed (2) hide show
  1. package/bin/lib.js +3 -0
  2. package/package.json +1 -1
package/bin/lib.js CHANGED
@@ -411,6 +411,9 @@ function extractZip(zipPath, destDir) {
411
411
  const args = ["-xf", zipPath, "-C", destDir];
412
412
  const quiet = { stdio: ["ignore", "pipe", "pipe"], encoding: "utf8" };
413
413
  if (process.platform === "win32") {
414
+ // 条目名无需任何特判:release.sh 产物非 ASCII 名一律 EFS/UTF-8
415
+ // (zip_name_check.mjs 硬门禁),bsdtar / Expand-Archive 都按标志正确解
416
+ // (0.5.0 曾发 GBK 无标志名,Rust 更新器按 CP437 解出乱码文件名)。
414
417
  // 首选系统自带 bsdtar 的绝对路径(Win10 1803+ 支持 zip)。不能裸调 PATH 里的
415
418
  // "tar":git-bash 环境会抢到 GNU tar,而它把 "D:" 当远程主机名直接报错。
416
419
  const sysTar = process.env.SystemRoot
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-flash",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "Pi-Flash (PF) — 极速 pi coding agent 桌面端。npm 薄壳包:安装时从 GitHub Releases 拉取平台载荷。",
5
5
  "homepage": "https://github.com/danielbill/pi-flash#readme",
6
6
  "repository": {