This is a viam module that reads windows registry keys using the golang registry package.
{
"keys": [
"SOFTWARE\\Viam",
"SOFTWARE\\Viam:version"
],
"programs": [
"Google Chrome",
"Microsoft Edge"
]
}This produces output:
Google Chrome "142.0.7444.176"
Microsoft Edge "142.0.3595.94"
{
"SOFTWARE\\Viam": {
"version": "123",
"": "hello"
},
"SOFTWARE\\Viam:version": "123"
}The SOFTWARE\\Viam:version is a special form that reads the version value inside the Viam key.
This currently only supports string keys.