A native Node.js addon for reading and writing Windows application manifests in executables.
Adapter from rcedit.
- Windows
- Node.js >= 18
- Visual Studio Build Tools
npm install fstanis/winmanifestThe native addon is compiled automatically via node-gyp during install.
const { getManifest, setManifest } = require('winmanifest');
// Read the manifest from an executable
const xml = getManifest('C:\\path\\to\\app.exe');
console.log(xml);
// Write a manifest to an executable
const success = setManifest('C:\\path\\to\\app.exe', xml);