diff --git a/packages/unzip/7za.exe b/packages/unzip/7za-2408.exe similarity index 100% rename from packages/unzip/7za.exe rename to packages/unzip/7za-2408.exe diff --git a/packages/unzip/unzip.js b/packages/unzip/unzip.js index 1db5be0..831a28e 100644 --- a/packages/unzip/unzip.js +++ b/packages/unzip/unzip.js @@ -35,7 +35,7 @@ export function unzipWin32(src, dist) { return new Promise((resolve, reject) => { //const child = spawn(join(root, 'unzip.exe'),['-n', src, '-d', dist]); - const child = spawn(join(root, '7za.exe'), ['x', '-y', '-aoa', src, `-o${dist}`]); + const child = spawn(join(root, '7za-2408.exe'), ['x', '-y', '-aoa', src, `-o${dist}`]); child.stdout.on('data', () => {}); child.stderr.on('data', console.error); diff --git a/projects/document/docs/unzip/npm.md b/projects/document/docs/unzip/npm.md index 3a08026..7843fe7 100644 --- a/projects/document/docs/unzip/npm.md +++ b/projects/document/docs/unzip/npm.md @@ -11,7 +11,9 @@ | GitHub stars | [![][ystar]][ygit] | [![][estar]][egit] | [![][astar]][agit] | [![][ustar]][ugit] | [![][arstar]][argit] | | TypeScript support | [![][yts]][ygit] | [![][ets]][egit] | [![][ats]][agit] | [![][uts]][ugit] | [![][arts]][argit] | | Last commit | [![][ycm]][ycm_a] | [![][ecm]][ecm_a] | [![][acm]][acm_a] | [![][ucm]][ucm_a] | [![][arcm]][arcm_a] | -| symlink support | :heavy_check_mark: | :heavy_check_mark: | :x: | ? | ? | +| symlink support | :heavy_check_mark: | :heavy_check_mark: | :x: | :question: | :question: | + + @@ -128,7 +130,7 @@ [ucm_a]: https://github.com/ZJONSSON/node-unzipper/commits [arcm_a]: https://github.com/archiverjs/node-archiver/commits -选择的依据: +### 选择的依据: - 软连接的支持(编辑器内部有软连接) - 较少的依赖