Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rcedit

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rcedit

Node module to edit resources of exe

  • 4.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
135K
decreased by-32.51%
Maintainers
2
Weekly downloads
 
Created

What is rcedit?

The rcedit npm package is used to edit the resources of Windows executables. It allows you to modify various properties of an executable file, such as its version information, icon, and more.

What are rcedit's main functionalities?

Change Version Information

This feature allows you to change the version information of a Windows executable. You can set properties like ProductName, FileDescription, and CompanyName.

const rcedit = require('rcedit');

rcedit('path/to/executable.exe', {
  'version-string': {
    'ProductName': 'MyApp',
    'FileDescription': 'My Application Description',
    'CompanyName': 'My Company'
  }
}, function (error) {
  if (error) {
    console.error('Failed to edit executable:', error);
  } else {
    console.log('Executable edited successfully');
  }
});

Change Icon

This feature allows you to change the icon of a Windows executable. You need to provide the path to the new icon file.

const rcedit = require('rcedit');

rcedit('path/to/executable.exe', {
  'icon': 'path/to/icon.ico'
}, function (error) {
  if (error) {
    console.error('Failed to edit executable:', error);
  } else {
    console.log('Executable edited successfully');
  }
});

Set Requested Execution Level

This feature allows you to set the requested execution level of a Windows executable. For example, you can set it to 'requireAdministrator' to request administrative privileges.

const rcedit = require('rcedit');

rcedit('path/to/executable.exe', {
  'requested-execution-level': 'requireAdministrator'
}, function (error) {
  if (error) {
    console.error('Failed to edit executable:', error);
  } else {
    console.log('Executable edited successfully');
  }
});
0

FAQs

Package last updated on 07 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc