From 04527db1831299fb3cba5c3127fd462939b448cf Mon Sep 17 00:00:00 2001 From: Starscouts Date: Tue, 2 Jul 2024 22:23:01 +0200 Subject: Cancel Rust rewrite --- sql/win/deps/extract.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 sql/win/deps/extract.js (limited to 'sql/win/deps/extract.js') diff --git a/sql/win/deps/extract.js b/sql/win/deps/extract.js new file mode 100755 index 0000000..46aed47 --- /dev/null +++ b/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