-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
send keys and status info periodically to panel #594
send keys and status info periodically to panel #594
Conversation
@@ -100,10 +110,39 @@ function handle_response(what, err, resp) { | |||
commands.process(resp.body); | |||
} | |||
|
|||
var compatible_with_module_tpm = function (data) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe this function could be defined in a more global context to be available to other parts of the project
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
if (err) return new Error('Error to get os_edition informaton'); | ||
data.os_edition = os_edition; | ||
system.get_winsvc_version(function(err, winsvc_version) { | ||
if (err) return new Error('Error to get winsvc_version informaton'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (err) return new Error('Error to get winsvc_version informaton'); | |
if (err) return new Error('Error to get winsvc_version information'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
let data = {}; | ||
if(os_name == 'windows'){ | ||
system.get_os_edition(function(err, os_edition) { | ||
if (err) return new Error('Error to get os_edition informaton'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (err) return new Error('Error to get os_edition informaton'); | |
if (err) return new Error('Error to get os_edition information'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
No description provided.