diff --git a/Casks/oh-my-posh.rb b/Casks/oh-my-posh.rb index 2fd4a3e..b2922f1 100644 --- a/Casks/oh-my-posh.rb +++ b/Casks/oh-my-posh.rb @@ -2,11 +2,11 @@ desc "Prompt theme engine for any shell" homepage "https://ohmyposh.dev" arch arm: "arm64", intel: "amd64" - version "24.17.0" + version "24.17.1" url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}", verified: "github.com/JanDeDobbeleer/oh-my-posh/" - sha256 arm: "a2fa9175e52d657d3a34253e5df9a89c019d2e6c1c5ec479f0840d103e11e028", - intel: "50ceea1cb409c8377dbd3191908163d98b9b0832b7d5aa0ff29e061e5d43551b" + sha256 arm: "a08b78a5c256af3ea114e445f05b4cff5adbaabd99ed13183698a80645ae2e94", + intel: "b83ba1d707c19380e057c816b37063b781210c6ec5ea519091d2f2df79648783" name "oh-my-posh" binary "posh-darwin-#{arch}", target: "oh-my-posh" auto_updates true diff --git a/oh-my-posh.rb b/oh-my-posh.rb index 34f2ed2..f0d144d 100644 --- a/oh-my-posh.rb +++ b/oh-my-posh.rb @@ -1,18 +1,18 @@ class OhMyPosh < Formula desc "Prompt theme engine for any shell" homepage "https://ohmyposh.dev" - url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.17.0.tar.gz" + url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.17.1.tar.gz" head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main" - sha256 "a1930056996ebbca17982a50c49d4a7c31415cdac864540ea88e0b94f619aae0" + sha256 "c53c8c62bdc116a9ff11a54f5a0a8f9e0ac1ba594adcfe7dbf4941d663154636" license "MIT" - version "24.17.0" + version "24.17.1" depends_on "go@1.22" => :build def install Dir.chdir("src") do ENV["GOPROXY"] = ENV.has_key?("HOMEBREW_GOPROXY") ? ENV["HOMEBREW_GOPROXY"] : "" - system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.17.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-12-22T17:26:05Z\'\"") + system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.17.1\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-12-22T19:48:08Z\'\"") bin.install "oh-my-posh" end mv "themes", prefix