more bootstrap script

This commit is contained in:
Benjamin Kyd
2023-02-01 16:52:32 +00:00
parent 32f79e564f
commit 3e508fb613

15
bootstrap.js vendored
View File

@@ -52,12 +52,19 @@ if (!installScripts.includes(targetInstallScript)) {
}
console.log('Installing dependencies...');
//const installOutput = subProcess.spawn('./' + targetInstallScript, {
//detached: true,
//});
//console.log(installOutput.toString());
subProcess.spawnSync('./' + targetInstallScript, [], {
stdio: 'inherit',
});
console.log('Successfully installed OS deps...');
const parentDir = 'common';
const targetDir = host;
// we want to create a symlink between home/ & host/ to ~/
// for every file stored in this repo, beforeso we need
// to create a .bak/ of the origionals as this might
// well cause some issues...