Override source URL of cask during installation only #5999
Unanswered
3x071c
asked this question in
Everyday usage
Replies: 1 comment
-
This really looks like a case for a tap. There isn't really a clean way to make something install other software than it was written for and still work correctly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
I want to (temporarily) change the source
url
a cask is initially installed from. In the case of IconChamp, there's a fork by one of the developers which hosts newer versions (1.3.6
- 2 years old, vs1.5.1
- 2 months old). I don't mind it being overwritten by homebrew if the official appcast ever gets updated.Currently, this appears to involve several steps:
Interestingly, when prompting Claude it hallucinates(?) a flag which would save all this effort, using
brew install --cask-url=<new url> <cask name>
. I couldn't find any reference to this flag explicitly in this org or the docs, and it errors as unrecognized when used.Perhaps a set of flags to overwrite certain options of a formula/cask once could be introduced?
Beta Was this translation helpful? Give feedback.
All reactions