Skip to content

Commit

Permalink
add installdate to installedapps
Browse files Browse the repository at this point in the history
Signed-off-by: si458 <simonsmith5521@gmail.com>
  • Loading branch information
si458 committed Feb 2, 2024
1 parent ddcff9f commit 990da39
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions agents/modules_meshcore/win-info.js
Expand Up @@ -228,6 +228,14 @@ function installedApps()
catch(e)\
{\
}\
try\
{\
val.installdate = reg.QueryKey(reg.HKEY.LocalMachine, 'SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Uninstall\\\\' + items.subkeys[key], 'InstallDate');\
if (val.installdate == '') { delete val.installdate; }\
}\
catch(e)\
{\
}\
result.push(val);\
}\
console.log(JSON.stringify(result,'', 1));process.exit();";
Expand Down

0 comments on commit 990da39

Please sign in to comment.