summaryrefslogtreecommitdiff
path: root/node_modules/electron-packager/src/unzip.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/electron-packager/src/unzip.js')
-rw-r--r--node_modules/electron-packager/src/unzip.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/node_modules/electron-packager/src/unzip.js b/node_modules/electron-packager/src/unzip.js
new file mode 100644
index 0000000..705c552
--- /dev/null
+++ b/node_modules/electron-packager/src/unzip.js
@@ -0,0 +1,7 @@
+'use strict'
+
+const extractZip = require('extract-zip')
+
+module.exports = async function extractElectronZip (zipPath, targetDir) {
+ await extractZip(zipPath, { dir: targetDir })
+}