Update index.js
This commit is contained in:
parent
864449348f
commit
d37b317f0b
2
index.js
2
index.js
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue