multi-account-post-schedule.../node_modules/sqlite3/deps/extract.js
2022-07-07 18:23:44 +02:00

11 lines
224 B
JavaScript

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,
});