horse-betting/btc-ui-app-2/node_modules/lmdb/bin/download-prebuilds.js
2025-06-19 16:39:08 +05:30

15 lines
441 B
JavaScript
Executable File

#!/usr/bin/env node
import { dirname } from 'path';
import { fileURLToPath } from 'url';
import { exec } from 'child_process';
exec('download-msgpackr-prebuilds', propagateOutput);
process.chdir(fileURLToPath(dirname(dirname(import.meta.url))));
exec('prebuildify-ci download', propagateOutput);
function propagateOutput(error, stdout, stderr) {
console.error(stderr);
console.log(stdout);
if (error?.code)
process.exit(error.code);
}