4 ms·
I’ve always used gon ( https://github.com/mitchellh/gon https://github.com/mitchellh/gon ) for this, which is open source golang, but I don’t think it supports
by infotogivenm 4y ago
I’ve always used gon ( https://github.com/mitchellh/gon https://github.com/mitchellh/gon ) for this, which is open source golang, but I don’t think it supports mach-o embedding. I’ll have to try this tool out.
- indygreg2 4y agoNote that gon is a glorified front-end for executing processes like `codesign`, `altool`, and even `ditto` for zip file generation. This Rust implementation, by contrast, has all the functionality implemented in pure Rust: there is no calling out to external processes for anything. You could drop the statically linked `rcodesign` executable into a Linux container with no other files and it would work. That's not to discredit gon or its authors: it is a fantastic tool for streamlining common functionality. But the mechanism is completely different.
- infotogivenm 4y agoNever knew it wrapped shell commands - good to know!