mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-25 13:45:52 +00:00
12 lines
429 B
JavaScript
12 lines
429 B
JavaScript
const { execSync } = require('child_process');
|
|
const os = require('os');
|
|
|
|
const platform = os.platform();
|
|
const arch = os.arch();
|
|
const target = '23.3.3';
|
|
|
|
const command = `cd ./node_modules/isolated-vm && rm -rf prebuilds && mkdir prebuilds && npm run prebuild -- --platform=${platform} --arch=${arch} --target=${target} --runtime=electron`;
|
|
|
|
console.log(`Running command: ${command}`);
|
|
execSync(command, { stdio: 'inherit' });
|