diff --git a/resources/scripts/install-bun.js b/resources/scripts/install-bun.js index 3449f017..bbe7d5aa 100644 --- a/resources/scripts/install-bun.js +++ b/resources/scripts/install-bun.js @@ -194,7 +194,12 @@ async function installBun() { } // Run the installation -installBun().catch((error) => { - console.error('Installation failed:', error) - process.exit(1) -}) +installBun() + .then(() => { + console.log('Installation successful') + process.exit(0) + }) + .catch((error) => { + console.error('Installation failed:', error) + process.exit(1) + }) diff --git a/resources/scripts/install-uv.js b/resources/scripts/install-uv.js index 0cc8d9e8..d6378f63 100644 --- a/resources/scripts/install-uv.js +++ b/resources/scripts/install-uv.js @@ -204,7 +204,12 @@ async function installUv() { } // Run the installation -installUv().catch((error) => { - console.error('Installation failed:', error) - process.exit(1) -}) +installUv() + .then(() => { + console.log('Installation successful') + process.exit(0) + }) + .catch((error) => { + console.error('Installation failed:', error) + process.exit(1) + })