From 23c864ff182c992caa59b95468cc0b87d7abeec3 Mon Sep 17 00:00:00 2001 From: heckeralt Date: Wed, 4 Sep 2024 08:51:43 -0400 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());