node-ejs-renderer/node_modules/sqlite3/deps/extract.js

11 lines
224 B
JavaScript
Raw Normal View History

2024-06-09 13:55:01 -04:00
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,
});