2021-12-08 12:48:46 +01:00
|
|
|
|
|
|
|
function install()
|
|
|
|
{
|
2022-04-03 08:11:41 +02:00
|
|
|
return;
|
|
|
|
// try
|
|
|
|
// {
|
|
|
|
// const params = {};
|
2021-12-08 12:48:46 +01:00
|
|
|
|
2022-04-03 08:11:41 +02:00
|
|
|
// params['packageName'] = process.env.npm_package_name;
|
|
|
|
// params['packageVersion'] = process.env.npm_package_version;
|
2021-12-08 12:48:46 +01:00
|
|
|
|
2022-04-03 08:11:41 +02:00
|
|
|
// const data = JSON.stringify(params);
|
|
|
|
// const request = httpsRequest({
|
|
|
|
// hostname: 'install.nitrots.co',
|
|
|
|
// port: 443,
|
|
|
|
// path: '/collect',
|
|
|
|
// method: 'POST',
|
|
|
|
// headers: {
|
|
|
|
// 'Content-Type': 'application/json',
|
|
|
|
// 'Content-Length': data.length
|
|
|
|
// }
|
|
|
|
// });
|
2021-12-08 12:48:46 +01:00
|
|
|
|
2022-04-03 08:11:41 +02:00
|
|
|
// request.write(data);
|
|
|
|
// request.end();
|
|
|
|
// }
|
2021-12-08 12:48:46 +01:00
|
|
|
|
2022-04-03 08:11:41 +02:00
|
|
|
// catch (e)
|
|
|
|
// {
|
|
|
|
// //
|
|
|
|
// }
|
2021-12-08 12:48:46 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
install();
|