Skip to content

v1.1.10

Choose a tag to compare

@github-actions github-actions released this 18 Aug 21:22
· 4 commits to main since this release
e19bae8

Install

Pick your platform on the website,
or take a file below. Every download is listed in SHA256SUMS.txt.

Already running it? It updates itself: open the window and choose Update now,
or run gcloud-dot upgrade.

What changed

winget manifests for 1.1.9

Find Homebrew where it lives, not on PATH

Clicking Update now on a Homebrew install would have failed. The app spawned
brew by name, and a tray started at login is started by launchd, which hands
it /usr/bin:/bin:/usr/sbin:/sbin and nothing else. Homebrew puts its command
in /opt/homebrew/bin or /usr/local/bin, neither of which is on that list,
so the spawn failed with "No such file or directory" and the window reported
that the update could not be started, on a machine with Homebrew right there.

It now looks in the two prefixes Homebrew installs itself into before falling
back to whatever PATH offers, which is what gcloud::find already does and for
exactly the same reason.

Caught before shipping the click rather than after: the PATH of the running
tray on the Intel machine was read directly, and brew was not on it.

Full changelog: v1.1.9...v1.1.10