From e44e2fe070484e06d384a31ef2699c3a2d5d474e Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Thu, 13 Jun 2024 15:46:03 +0200 Subject: GitHub migration --- updater/sql/win/deps/extract.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 updater/sql/win/deps/extract.js (limited to 'updater/sql/win/deps/extract.js') diff --git a/updater/sql/win/deps/extract.js b/updater/sql/win/deps/extract.js new file mode 100755 index 0000000..46aed47 --- /dev/null +++ b/updater/sql/win/deps/extract.js @@ -0,0 +1,10 @@ +const tar = require("tar"); +const path = require("path"); +const tarball = path.resolve(process.argv[2]); +const dirname = path.resolve(process.argv[3]); + +tar.extract({ + sync: true, + file: tarball, + cwd: dirname, +}); -- cgit