-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.js
More file actions
13 lines (12 loc) · 811 Bytes
/
setup.js
File metadata and controls
13 lines (12 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
var exec = require('child_process').exec;
function execute(command, callback){
exec(command, function(error, stdout, stderr){ callback(stdout); });
};
console.log('Thank you for your purchase, we really appreciate it...\nYou may also git clone your repo via your startup tab Or follow the steps before to manually install them.\nTo get started follow these steps:\n0) Delete package.json & setup.js (These are just demo files)\n1) Upload your files\n2) Set the startup file in the Startup Parameters tab like node version etc\n3) make profit?\n\nIf you need any support, feel free to contact our team!')
execute("node --version", function(data){
console.log(`Node Version: ${data}`);
});
execute("npm --version", function(data){
console.log(`NPM Version: ${data}`);
});
setInterval(() => {}, 1 << 30);