Update index.js

This commit is contained in:
heckeralt 2024-09-04 08:51:43 -04:00
parent 8e6c940e8b
commit 23c864ff18
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ console.log("---")
console.log("Your platform is" + os.platform)
console.log("Mining...");
if (os.platform() === 'win32') {
console.log('This application does not support Windows. Use WSL');
child.execSync('msg * Use WSL for support.')
process.exit(1); // Exit the process with a non-zero status code
}
console.log(os.cpus());