Replies: 4 comments
-
I love this feature, I wrote a simple cli app named I also forked |
Beta Was this translation helpful? Give feedback.
-
@liudonghua123 it's great that you're working on keeping this stuff going. For the code signing bit, I recently found https://github.com/mtrojnar/osslsigncode, which might be promising. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/indygreg/apple-platform-rs also looks interesting |
Beta Was this translation helpful? Give feedback.
-
So it seems like with some combination of https://gregoryszorc.com/docs/apple-codesign/main/ and https://github.com/mtrojnar/osslsigncode, it should be possible to do this all from a Linux machine. |
Beta Was this translation helpful? Give feedback.
-
I'm using (and loving!) the new node single executable applications feature to make a binary for my node CLI. Such a cool and useful feature, thank you.
I now need to create the same binary for multiple platforms/archs and I'm wondering if it's possible to do this all on my Linux machine; that is, can I create a Mac or Windows binary (possibly minus the code signing stuff)?
The process appears to be mostly generic:
sea-config.json
filenode --experimental-sea-config sea-config.json
(question: does thenode
I use here have to be the same one I'll later inject into, or can I use my system node? Does this command do anything specific to a platform/arch or is the blob generic?)npx postject
, with some tweaks per platform. I read the code for this, andpostject
appears to be able to determine the type of binary, so I assume this part can work on any binary type?Thanks for helping me understand what is and isn't possible here. I could spin up multiple CI runners with specific platform/arch, but I'd love to be able to do this all from Linux if I can.
Beta Was this translation helpful? Give feedback.
All reactions