@plasosdk/plaso-electron-sdk 1.2.2 → 1.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasosdk/plaso-electron-sdk",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -148,7 +148,7 @@ const downloadFile = (zipFileName, localDir) => {
148
148
  zip.extractAllTo(localDir, true);
149
149
  }
150
150
  if (fs.existsSync(path.join(localDir, '__MACOSX'))) {
151
- fs.rmdir(path.join(localDir, '__MACOSX'));
151
+ fs.rmdir(path.join(localDir, '__MACOSX'), { recursive: true, force: true });
152
152
  }
153
153
  fs.unlink(localZipFilePath, () => {});
154
154
  logger.info(`文件${zipFileName}解压完成`);