diff --git a/Casks/oh-my-posh.rb b/Casks/oh-my-posh.rb index ccaa48a..504307c 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.0.11" + version "24.1.0" url "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v#{version}/posh-darwin-#{arch}", verified: "github.com/JanDeDobbeleer/oh-my-posh/" - sha256 arm: "0ba5178603fa4d8e41e05ce863d25bb46a4a24d0135fcca2bd199b4a8ff87b23", - intel: "f9350a9b3cce4109af2882eb7adfbaab6bbac336c73ca80df29e3d65fc9ad714" + sha256 arm: "c1585abb00f3c404e55bedd850334871ea257747e4dfc54a8359c9297fd03799", + intel: "fae449f2a8cac8f7d8a7576bf746851b80f334f83727becbbc046e7d2dd6a452" 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 c7eaecc..6d9962e 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.0.11.tar.gz" + url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v24.1.0.tar.gz" head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main" - sha256 "d66c0cbf157bc4af838418535fdf9d7bd94be14b5c1f06d53a4b8366cdb87712" + sha256 "21ae04bf4e5d2aa9a74d2b71e0bf3e03192d5c213164972d8f682b43064e7b8d" license "MIT" - version "24.0.11" + version "24.1.0" 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.0.11\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-07T09:54:19Z\'\"") + system("go build -o=oh-my-posh -ldflags=\"-s -w -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Version=24.1.0\' -X \'github.com/jandedobbeleer/oh-my-posh/src/build.Date=2024-11-07T19:51:29Z\'\"") bin.install "oh-my-posh" end mv "themes", prefix