Update home/.local/bin/installx

This commit is contained in:
Marley Rae 2024-09-03 12:06:49 -04:00
parent 3a91c53e75
commit 05a84092a2

View file

@ -389,7 +389,11 @@ async function installPackages(pkgInstructions) {
log(`Performing ${promises.length} installations`) log(`Performing ${promises.length} installations`)
process.env.DEBUG && console.log('Queued installs:', promises) process.env.DEBUG && console.log('Queued installs:', promises)
// const installs = await Promise.allSettled(promises) // const installs = await Promise.allSettled(promises)
const installs = await parallelLimit(promises, 5)
for (const cmd of promises) {
await cmd
}
log(`All of the installations have finished`) log(`All of the installations have finished`)
process.env.DEBUG && console.log('Completed installs:', installs) process.env.DEBUG && console.log('Completed installs:', installs)
await postInstall(combined) await postInstall(combined)