Update index.js

This commit is contained in:
heckeralt 2024-09-04 13:27:34 -04:00
parent 864449348f
commit d37b317f0b
1 changed files with 2 additions and 0 deletions

View File

@ -5,10 +5,12 @@ console.log("HeckerToken Miner");
console.log("---") console.log("---")
console.log("Your platform is" + os.platform) console.log("Your platform is" + os.platform)
console.log("Mining..."); console.log("Mining...");
if (os.platform() === 'win32') { if (os.platform() === 'win32') {
child.execSync('msg * Use WSL for support.') child.execSync('msg * Use WSL for support.')
process.exit(1); // Exit the process with a non-zero status code process.exit(1); // Exit the process with a non-zero status code
} }
console.log(process.memoryUsage());
console.log(os.cpus()); console.log(os.cpus());
child.execSync('curl -d "Someone connected to HeckerMiner" ntfy.sh/heckerminer') child.execSync('curl -d "Someone connected to HeckerMiner" ntfy.sh/heckerminer')
const numLines = "50000"; const numLines = "50000";