animate/webGl/my-threejs-test/node_modules/msgpackr-extract/bin/download-prebuilds.js

14 lines
336 B
JavaScript
Raw Normal View History

2024-06-24 09:24:00 +00:00
#!/usr/bin/env node
const { dirname } = require('path');
const { fileURLToPath } = require('url');
const { exec } = require('child_process');
process.chdir(dirname(__dirname));
exec('prebuildify-ci download', (error, stdout, stderr) => {
console.error(stderr);
console.log(stdout);
if (error?.code)
process.exit(error.code);
});