mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-27 01:40:52 +01:00
35 lines
743 B
JavaScript
35 lines
743 B
JavaScript
|
|
function install()
|
|
{
|
|
return;
|
|
// try
|
|
// {
|
|
// const params = {};
|
|
|
|
// params['packageName'] = process.env.npm_package_name;
|
|
// params['packageVersion'] = process.env.npm_package_version;
|
|
|
|
// 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
|
|
// }
|
|
// });
|
|
|
|
// request.write(data);
|
|
// request.end();
|
|
// }
|
|
|
|
// catch (e)
|
|
// {
|
|
// //
|
|
// }
|
|
}
|
|
|
|
install();
|