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

Use cask tab to better identify installed casks #17821

Closed

Commits on Jul 21, 2024

  1. Use cask tab to better identify installed casks

    Previously we would identify installed casks by token derived from
    directories present in the caskroom directory. That was error prone
    when the token was ambiguous. In that case, the `Cask::Caskroom.cask`
    method would default to the first cask which was not always correct.
    
    Now that we have the cask tab we can use the installed receipt to
    get the tap a cask came from. With both the tap and the token, we
    can be sure that we're loading the cask that is actually installed
    and not another cask from a different tap that just happens to have
    the same name.
    apainintheneck committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    5c3a1a2 View commit details
    Browse the repository at this point in the history