-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome binaries are 600MB when publishing #115
Comments
Are you sure you are in the correct repo? That's not a file that is part of the
Definitely don't ship There shouldn't be any
We just repackage the builds from https://cef-builds.spotifycdn.com/index.html Building/modifying |
Neither of those packages are generated from this repo. |
@nightblade9 Perhaps you already figured this out, but the |
Yes, you apparently did. 😂 devlooped/chromium#93 (In the future, if you create an issue in the wrong repo and end up creating another one in the right repo, please add a reference to it in the original issue - this makes things clearer for everybody) |
Sorry, my mistake. |
No problems! 👍 Have a great day. |
Hi,
I'm prototyping something like Electron.NET: a Blazor web server with embedded Chromium for the front-end.
As it happens, I'm using the binaries from this repo (
chromiumembeddedframework.runtime.win-x64
from NuGet). The binaries available are huge: if you rundotnet publish
, the resulting folder is around 600MB. Is it possible to reduce this somehow?I've taken the hopefully-risk-free steps of deleting
interactive_ui_tests.exe
(250MB) which looks like some sort of Chromium internal testing tool. I also deletelocales
, other thanen-US
, which is the default; this saves around 40MB.The next biggest candidate, by an order of magnitude, is
chrome.exe
, weighing in at around 250mb. I thought, after reading #56 , that perhaps we can use a "minimal distribution" of Chromium instead. It looks like that change went in around 2017, though, and is already included, because the NuGet packages are from a couple of weeks ago.Is there any way to build a smaller, more lightweight version of Chromium? I understood that ElectronJS does this, but their final "hello world" distribution is around 100MB. Mine, even with the shrinkages mentioned, is around 300MB.
The text was updated successfully, but these errors were encountered: