I'm developing a Desktop Application with NWJS and I need to get the file properties of an .exe File.
I've tried using the npm properties module https://github.com/gagle/node-properties, but I get an empty Object.
properties.parse('./unzipped/File.exe', { path: true }, function (err, obj) {
if (err) {
console.log(err);
}
console.log(obj);
});
I need to get the "File version" Property:
I've also tried using fs.stats and no luck. Any ideas?