bob-wallet icon indicating copy to clipboard operation
bob-wallet copied to clipboard

Add homebrew install method for macOS in README.md

Open nlydv opened this issue 4 years ago • 3 comments

Hey all, I made a Homebrew cask for Bob wallet just for myself to use, but I figured I'd submit it to the main homebrew/cask repo. They merged the PR (link) which makes it really simple to install now for Mac users.

It's under the name kyokan-bob though I originally figured bob-wallet would've been a lot better (there's already a cask named bob). The strict naming standards they have wanted it to be based off the actual app's name once installed (i.e. a cask for 'Bob.app' gets the name '[vendor]-bob' when just 'bob' is already in use).

Anyways, this PR only changes the README.md to add that info via a new macOS section under the installation how-to header. There's also a --zap stanza in the cask file as well to make it easier to do a complete uninstall as is recommended for certain release upgrades, so I added that info there too.

Let me know if there's anything that should be changed (in the README or the actual Homebrew cask).

nlydv avatar Mar 02 '21 23:03 nlydv

Wow this is super cool! Will it require maintenance, ie. updates to homebrew with each new bob release?

pinheadmz avatar Mar 13 '21 16:03 pinheadmz

Will it require maintenance, ie. updates to homebrew with each new bob release?

I'm not entirely sure to be honest. My assumption is that if you do brew upgrade it will find the latest version but otherwise get whatever version is specified in the file.

Though all you'd have to modify there is the version number and the hash of the .dmg (or .app ? Can't remember) it is the hash of the .dmg for the new release:

cask "kyokan-bob" do
  version "0.6.2"
  sha256 "5619[...]" 

nlydv avatar Mar 13 '21 18:03 nlydv

Rebased and also elaborated on details for using brew.

A PR to homebrew/homebrew-cask is required to update the brew cask after every new release. Doing so requires running brew bump-cask-pr --version <VERSION> kyokan-bob and that PR automatically gets opened (if there actually is a newer release) and is populated with the right info, which anyone with homebrew installed can do (ex).

Going to open a different PR with a workflow job that can do that automatically whenever a new release gets published. If that works out, I suppose the blockquoted note added in this PR could be removed.

nlydv avatar Feb 02 '22 07:02 nlydv

Verified this working on an M1 Mac.

NetOpWibby avatar Aug 19 '22 15:08 NetOpWibby

Separated uninstall into its own section since your text applies to Windows and Linux too.

Thanks @nlydv!

rithvikvibhu avatar Aug 20 '22 09:08 rithvikvibhu

Just attempted to brew install on a MBP, M1 Pro, Ventura 13.2.1 and no joy. anyone else have it working ?

update: rebooted and it has loaded now.

IAmScottCarlson avatar Mar 24 '23 05:03 IAmScottCarlson