Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Pass down some environment variables to make Cork work well with brew mirrors #415

Merged
merged 1 commit into from
Oct 5, 2024
Merged

Conversation

Nyaacinth
Copy link
Contributor

Basically, when executing brew commands, this will pass down HOMEBREW_API_DOMAIN and HOMEBREW_BOTTLE_DOMAIN from the system environment.

As for the way to make use of this feature, you need to set variables through launchctl setenv, this can be done through macOS Automator or LaunchAgents, i.e. LaunchAgent Approach

Copy link
Owner

@buresdv buresdv left a comment

Choose a reason for hiding this comment

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

Thanks, this is a good addition :)

@buresdv buresdv merged commit 8bc5ac3 into buresdv:main Oct 5, 2024
1 check passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants