changeicon

1.1.1 • Public • Published

changeicon

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

installation

npm i changeicon

usage

const changeIcon = require('changeicon');

change icon

(async () => { await changeIcon('program.exe', 'picture.png'); })();

change metadata

(async () => {
  await changeIcon.changeMetaData('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 changeIcon('program.exe', 'picture.png');
  await changeIcon.changeMetaData('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'
  });
})();

Package Sidebar

Install

npm i changeicon

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

9.3 kB

Total Files

7

Last publish

Collaborators

  • garretkadedupre