Conversation
c369190 to
a456367
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
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 |
|
@MarshallOfSound I reached for
I completely understand how putting the CLI implementation changes the scope of
I think this makes sense within the scope of our own packages. However, it severely limits anyone who doesn't use Forge. Other systems, like Electron Builder are able to use things like Fuses because we happen to expose them as an API. That may not have been an explicit goal, but it does currently happen and I find it a compelling reason to also include an API here as well. If that API lived in On a side note, if you have strong opinions, in general, about where things should live, then you should probably also take a look at electron/asar#410. Edit: one important thing to note is that the CLI 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: