Closed indutny-signal closed 2 years ago
Thanks for looking into this @MarshallOfSound . I've addressed your feedback with the latest push.
Realized that I forgot to drop Universal signatures from MACHO_MAGIC. Should be ready for another look if you have time. Thanks!
Friendly ping @MarshallOfSound
:tada: This PR is included in version 1.2.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Yay, thank you so much!
In short, this adds a new option
fuseASARs
that, instead of checking that ASARs are exactly the same, will attempt to fuse them together into one and runlipo
on shared bindings.uniqueAllowList` option handles files that are unique to each ASAR. Ultimately the goal is to put all of them together in the final ASAR, but I decided to go with an explicit allowlist so that the end user will always be aware of the extra files.
This helped us reduce universal
.dmg
size from300mb
to240mb
because we have quite a lot of data in our asar file at Signal.Example of debug output