I build and run many Electron apps on Windows. I noticed that all of them have the same common api files / libraries to run. They all take about 30mb of space.
I'm thinking of installing these files in the system, maybe moving them to system32 folder or the GAC, and then removing them from all my electron apps.
I would have an installer package for electron files, let's say "electron-dependencies" a bit like a regular redist package that can be is installed, and once it's there, all Electron apps run using the same files with much smaller size.
Would this actually work? Any drawbacks or thoughts on this?
I believe in the future Microsoft could support Electron (they already do with VSCode and maybe with their new Chrmoium Browser) by including these libraries on Windows out of the box.