feat: add integrity digest plugin#4159
Conversation
c369190 to
a456367
Compare
erickzhao
left a comment
There was a problem hiding this comment.
Plugin code seems pretty straightforward but we need to update some config stuff on the library side (^:
Co-authored-by: Erick Zhao <erick@hotmail.ca>
…plugin Co-authored-by: Erick Zhao <erick@hotmail.ca>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
|
Thanks for the comments @erickzhao ! What are your thoughts on these three line items from my original post?
|
|
@nmggithub I think it'd be good to be able to choose a set of additional plugins to install to each template via the (I think for example |
MarshallOfSound
left a comment
There was a problem hiding this comment.
I don't think this should be a plugin, I think this should Just Happen by default in @electron/packager in the exact same way as the integrity stuff happens today? Why would this be different 🤔
|
Also maybe I missed a reference, can someone link me the context for why these APIs are living in The separation of concerns here as I understand it is:
I'm confused as to why the digest management things are living in ASAR only to then immediately be called exclusively from other packages? That seems very antithetical to the goals of dependency reduction and keeping a clean ecosystem. (Context is I noticed this because If the goal here is to have a single reference implementation of ASAR digest for macOS imo that reference implementation should be in |

Summarize your changes:
This follows up electron/asar#380, which implements a management API for electron/electron#48587.
Some additional things we might want to do: