pi-flash 0.4.2 → 0.4.3
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/bin/lib.js +1 -1
- package/package.json +1 -1
package/bin/lib.js
CHANGED
|
@@ -439,7 +439,7 @@ function extractZip(zipPath, destDir) {
|
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
441
|
|
|
442
|
-
// zip 根布局:win32 带 pi-flash/ 包装目录(release.sh
|
|
442
|
+
// zip 根布局:win32 带 pi-flash/ 包装目录(release.sh 压缩产物约定,压缩器无关),darwin 根即 .app
|
|
443
443
|
function locateContentRoot(extractDir, tag) {
|
|
444
444
|
const exeRel = exeRelPath(tag);
|
|
445
445
|
for (const root of [path.join(extractDir, "pi-flash"), extractDir]) {
|
package/package.json
CHANGED