Replies: 0 comments 5 replies
|
@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. |
0 replies
|
https://github.com/indygreg/apple-platform-rs also looks interesting |
0 replies
|
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. |
0 replies
|
I have posted a webpack plugin here: https://www.npmjs.com/package/sea-webpack-plugin This does cross-platform builds for the sea applications and has a docker you can use to do code signing. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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.jsonfilenode --experimental-sea-config sea-config.json(question: does thenodeI 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, andpostjectappears 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.
All reactions