Skip to content

Change the icon and versioninfo of executable files

License

Notifications You must be signed in to change notification settings

si458/changeexe

Repository files navigation

changeexe

Change the icon and versioninfo of executable files. Fast. Easy.

installation

npm install changeexe

usage

const changeExe = require('changeexe');

change icon

(async () => { 
    await changeExe.icon('program.exe', 'icon.ico');
})();

change versioninfo

(async () => {
  await changeExe.versionInfo('program.exe', {
    CompanyName: 'Legit Tax Haven, LLC',
    FileDescription: 'An innocent file that will not harm your computer. Double-click to read more.',
    FileVersion: '1.3.3.7',
    LegalCopyright: 'Copyright 2021, all my rights are belong to me.',
    OriginalFilename: 'virus.exe',
    ProductName: 'Not A Virus',
    ProductVersion: '1.2.3.4'
  });
})();

both

(async () => {
  await changeExe.icon('program.exe', 'icon.ico');
  await changeExe.versionInfo('program.exe', {
    CompanyName: 'Legit Tax Haven, LLC',
    FileDescription: 'An innocent file that will not harm your computer. Double-click to read more.',
    FileVersion: '1.3.3.7',
    LegalCopyright: 'Copyright 2021, all my rights are belong to me.',
    OriginalFilename: 'virus.exe',
    ProductName: 'Not A Virus',
    ProductVersion: '1.2.3.4'
  });
})();

About

Change the icon and versioninfo of executable files

Resources

License

Stars

Watchers

Forks

Packages

No packages published