diff --git a/index.js b/index.js index 1aadad2..66350c8 100644 --- a/index.js +++ b/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());