4runr-os 2.1.42 ā 2.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/setup.js +12 -6
package/package.json
CHANGED
package/scripts/setup.js
CHANGED
|
@@ -316,8 +316,9 @@ if (isWindows && rustInstalled && rustNeedsGNU) {
|
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
// Continue with rest of setup (outside Windows-specific block)
|
|
319
|
-
|
|
320
|
-
|
|
319
|
+
console.log('\nš¦ Checking 4runr-os installation...');
|
|
320
|
+
try {
|
|
321
|
+
execSync('4r --version', { stdio: 'ignore' });
|
|
321
322
|
console.log('ā
4runr-os is installed');
|
|
322
323
|
} catch {
|
|
323
324
|
console.log('ā ļø 4runr-os not found in PATH');
|
|
@@ -376,8 +377,13 @@ if (isWindows && rustInstalled && rustNeedsGNU) {
|
|
|
376
377
|
}
|
|
377
378
|
|
|
378
379
|
// Run the setup
|
|
379
|
-
runSetup()
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
380
|
+
runSetup()
|
|
381
|
+
.then(() => {
|
|
382
|
+
// Setup completed successfully
|
|
383
|
+
process.exit(0);
|
|
384
|
+
})
|
|
385
|
+
.catch((error) => {
|
|
386
|
+
console.error('\nā Setup failed:', error);
|
|
387
|
+
process.exit(1);
|
|
388
|
+
});
|
|
383
389
|
|