Closed StephenKe closed 2 months ago
Do you sign the x64/arm64 bundles before merging them?
Do you sign the x64/arm64 bundles before merging them?
Yes.My x64/arm64 app build on electron-builder and it can not skip codesign.
Usually electron-builder builds two separate copies of x64/arm64 builds before merging them and they are not signed unlike regular arm64/x64 builds.
Em...My project includes both electron-builder and @electron-universal.Have any good idea to universal app after electron-builder builded?(respect~)
We just use universal
arch here: https://github.com/signalapp/Signal-Desktop/blob/development/package.json#L339-L341
I tried and it went wrong: We use zoom-electron-sdk + elelctron@11.0.1 + node@12.18.0. universal
arch can not match zoom-electron-sdk due to elelctron@11.0.1 have no --arch=universal.So I use electron-builder to build x64/arm64 on electron@11.0.1 --arch=x64/arm64.And use @electron-universal to universal x64/arm64 manually.
Ah, interesting. So you build two separate builds and then merge them with the help of universal. In this case, you should try merging them before signing and sign the universal binary separately.
'you should try merging them before signing'. That's the problem: It seems like electron-builder not provided a configuration to skip signing process.
I see. I suggest we move over to electron-builder issues with regards to this. There has to be a way to avoid signing in such situations, but surely it has nothing to do with @electron/universal!
I see. I suggest we move over to electron-builder issues with regards to this. There has to be a way to avoid signing in such situations, but surely it has nothing to do with @electron/universal!
Good idea ^ 0 ^ Already submit an issue to electron-builder.
I make it work like this:
If it possible that electron-universal remove _CodeSignature before merge? @indutny-signal
Should be closed in #72
Modified Plist lead to fail when use electron-osx-sign to Codesign universal app: invalid Info.plist (plist or signature have been modified)
After I removed the following code.It worked.