editres
Embed data into executables after build.
Supported Executable Formats
- Windows (PE)
- Linux (ELF)
- macOS (Mach-O)
Quick Start
1. Declare resources using editres::resource!
use resource;
use from_utf8;
#
2. Inject data in the executable
You can inject data in executables using library editres or command line from editres_cli.
- Library usage:
- Add
editresas a dependency with featureinjectorenabled, - Refer to
injector::inject.
- Add
- Command line usage:
cargo install editres_cli, or download from the releases.- Get command line help using
editres help inject
Notes
editres is based on Node.js' single executable application implementation: postject.