-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.js
42 lines (33 loc) · 1.35 KB
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
"use strict";
process.title = "Multithread Polygon Bruteforce by Corvus Codex";
const readline = require('readline');
const { spawn } = require('child_process');
function credit(){
console.log("=================================================================");
console.log("Created by: Corvus Codex");
console.log("Github: https://github.com/CorvusCodex/");
console.log("Licence : MIT License");
console.log("=================================================================");
console.log("Support my work:");
console.log("BTC: bc1q7wth254atug2p4v9j3krk9kauc0ehys2u8tgg3");
console.log("ETH & BNB: 0x68B6D33Ad1A3e0aFaDA60d6ADf8594601BE492F0");
console.log("Buy me a coffee: https://www.buymeacoffee.com/CorvusCodex");
console.log("=================================================================");
};
console.clear();
credit();
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout
});
console.log();
rl.question('Enter Number 1 to run Simplified view or Number 2 for Secondary view("May not work on some computers.") and press enter: ', (answer) => {
rl.close();
if (answer === '1') {
spawn('node', ['./app1.js'], { stdio: 'inherit' });
} else if (answer === '2') {
spawn('node', ['./app2.js'], { stdio: 'inherit' });
} else {
console.log('Invalid input. Please enter either 1 or 2.');
}
});