Since this recipe was rejected because of the volatile nature of pCloud links (see homebrew-cask#57634) I try to maintain this myself because it is useful to me and might be for others.
- Download
pcloud-drive.rb
. - Run
brew cask install pcloud-drive.rb
.
To uninstall run brew cask uninstall pcloud-drive.rb
.
To retrieve the API code:
I use it in my reinstall.sh script. It's a full-zsh script (no python nor anything else), and with a bit of
sed
,tr
,grep
andcurl
it retrieves the latest version of pCloud and installs it. Not as easy as a Cask though ^^