Update index.js
This commit is contained in:
parent
8e6c940e8b
commit
23c864ff18
2
index.js
2
index.js
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue