Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors License

Binary Tailor

One download. Host-shaped binary after delivery.
Explore the docs »

Binary Tailor

Persistent install adapter: you ship one polyglot pack (APE, fat Mach-O, or a ZIP of native slices). The user — or PackageHub on delivery — runs Binary Tailor, which strips non-target headers and writes a boring PE, ELF, or Mach-O the host antivirus and debugger already understand.

This kind of defeats a unified on-disk binary. It keeps a unified CI and download page.

Commands

binary-tailor inspect   app.bin
binary-tailor tailor    app.bin -o app.exe --target windows-x64
binary-tailor pack      -o app.bin --name myapp windows-x64=./win.exe linux-x64=./lin macos-arm64=./mac
binary-tailor assimilate ape.com --target linux-x64
binary-tailor memload   payload.dylib

Build

Sibling checkout of macho-memload is required (../macho-memload).

dub build --compiler=ldc2

Changelog

See CHANGELOG.adoc.

License

MIT

About

Strip non-target headers from polyglot packs; one download, host-shaped binary

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages