Skip to content
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

Download CEF binaries to ~/.cache #887

Merged
merged 2 commits into from
Nov 28, 2024
Merged

Download CEF binaries to ~/.cache #887

merged 2 commits into from
Nov 28, 2024

Conversation

noituri
Copy link
Member

@noituri noituri commented Nov 28, 2024

Most of the CEF build time is spent on actually downloading CEF itself which happens every time OUT_DIR changes. I moved the default cef_root to ~/.cache which helps with the recompilation a lot (less than 1s).

Copy link
Member

@wkozyra95 wkozyra95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it matters for the cache specifically, but I would use tools like https://github.com/dirs-dev/dirs-rs to find directories like that on a specific system.

@noituri noituri merged commit f1d3aba into master Nov 28, 2024
5 checks passed
@noituri noituri deleted the @noituri/move-cef branch November 28, 2024 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants