finestructure / Hummingbird

A macOS utility that makes window management a breeze
https://hbird.app
MIT License
218 stars 19 forks source link

Fix installation instructions #43

Closed emyller closed 1 year ago

emyller commented 1 year ago

It seems that installing a package named "hummingbird" will actually download another software:

❯ brew info hummingbird
==> hummingbird: 1.2.1
https://airvpn.org/hummingbird
/opt/homebrew/Caskroom/hummingbird/3.3.0 (125B)
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/hummingbird.rb
==> Name
Hummingbird
==> Description
OpenVPN 3 client
==> Artifacts
hummingbird-macos-arm64-1.2.1/hummingbird (Binary)
==> Analytics
install: 0 (30 days), 33 (90 days), 205 (365 days)

Updating the brew install command instructions to use the full path (including the tap) seems to fix the issue.

finestructure commented 1 year ago

Ah interesting, thanks for the fix!

emyller commented 1 year ago

@finestructure Since the ambiguity was introduced, this happens when running a brew upgrade. I would assume installing the package with its full name would fix it but I was wrong. Not sure how to keep the right Hummingbird instead of Eddie's.

(...)
==> Upgrading hummingbird
==> Downloading https://eddie.website/repository/hummingbird/1.2.1/hummingbird-macos-arm64-notarized-1.2.1.zip
Already downloaded: /Users/emyller/Library/Caches/Homebrew/downloads/be3bdec7d04aefc13678022f01c24358faa48527cc2f4f4c4f1604af99bfbafe--hummingbird-macos-arm64-notarized-1.2.1.zip
==> Backing App 'Hummingbird.app' up to '/opt/homebrew/Caskroom/hummingbird/3.3.0/Hummingbird.app'
==> Removing App '/Applications/Hummingbird.app'
==> Linking Binary 'hummingbird' to '/opt/homebrew/bin/hummingbird'
==> Changing ownership of paths required by hummingbird; your password may be necessary.
Password: