Skip to content

Homebrew Adopt fixed with version-based cask handling#582

Open
boardslayer wants to merge 1 commit into
alienator88:mainfrom
boardslayer:main
Open

Homebrew Adopt fixed with version-based cask handling#582
boardslayer wants to merge 1 commit into
alienator88:mainfrom
boardslayer:main

Conversation

@boardslayer

Copy link
Copy Markdown

PearCleaner cannot adopt packages in the GUI using Homebrew. The flag was --no-quarantine option was removed in Homebrew 4.7.0.

I've added a version check to see if the currently installed homebrew version is above 4.7.0 or below, to determine whether --no-quarantine should be used. The argument is dynamically added via caskQuarantineArguments() and applied at call sites.

Cache the Homebrew version and provide helpers to determine if
--no-quarantine should be used. Build quarantine args dynamically
via caskQuarantineArguments() and apply at call sites.
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.

1 participant