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

feat: cacheMode option #267

Merged
merged 11 commits into from
Jul 15, 2024
Merged

feat: cacheMode option #267

merged 11 commits into from
Jul 15, 2024

Conversation

dsanders11
Copy link
Member

@dsanders11 dsanders11 commented Dec 14, 2023

Closes #209. This is less of a problem these days as @electron/fiddle-core actually steals the file out of the cache, so there's not duplicate copies, but that's not optimal behavior, and leaves behind SHASUMS256.txt files in the cache unnecessarily. So, provide an option to not add the downloaded file to the cache.

Closes electron/packager#1552

@dsanders11 dsanders11 marked this pull request as ready for review January 18, 2024 18:10
@dsanders11 dsanders11 requested a review from a team as a code owner January 18, 2024 18:10
@VerteDinde VerteDinde self-requested a review February 7, 2024 18:52
src/types.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
@MarshallOfSound
Copy link
Member

@dsanders11 @erickzhao got bored at the airport, updated this to use an enum and such

@erickzhao erickzhao self-requested a review July 12, 2024 20:00
@dsanders11 dsanders11 changed the title feat: dontCache option feat: cacheMode option Jul 13, 2024
@dsanders11
Copy link
Member Author

I can't approve my own PR, but LGTM. 👍

Copy link
Member

@MarshallOfSound MarshallOfSound left a comment

Choose a reason for hiding this comment

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

I can approve it lol

Copy link
Member

@erickzhao erickzhao left a comment

Choose a reason for hiding this comment

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

impl looks great

src/types.ts Outdated Show resolved Hide resolved
src/types.ts Outdated Show resolved Hide resolved
MarshallOfSound and others added 3 commits July 13, 2024 11:37
Co-authored-by: Erick Zhao <erick@hotmail.ca>
Co-authored-by: Erick Zhao <erick@hotmail.ca>
@erickzhao erickzhao merged commit 0adc5b9 into electron:main Jul 15, 2024
3 checks passed
Copy link

🎉 This PR is included in version 3.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants