1
0
mirror of https://github.com/lencx/ChatGPT.git synced 2024-10-01 01:06:13 -04:00

Merge pull request #1172 from wubaiqing/main

fix: brew cask version number
This commit is contained in:
lencx 2024-03-11 10:52:21 +08:00 committed by GitHub
commit e547ef6c67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,9 +1,9 @@
cask "chatgpt" do cask "chatgpt" do
version "1.0.0" version "1.1.0"
arch = Hardware::CPU.arch.to_s arch = Hardware::CPU.arch.to_s
sha256s = { sha256s = {
"x86_64" => "474c6024ac1100512c242449da8d93b521334d0d03a9457c42446293a64eaff4", "x86_64" => "6747e61a507402fa4b36db443c37a79299a4e1d4ba9904298a0b00c3e6a243b6",
"aarch64" => "998d15813194957de140a530605252fdf3f68fafdba1353706fa00d070c7c23d" "aarch64" => "f870ba135ad990715474cbb038b5b38acb8d08640803e2c79c878e210f4800f6"
} }
if arch == "arm64" then arch = "aarch64" end if arch == "arm64" then arch = "aarch64" end
url "https://github.com/lencx/ChatGPT/releases/download/v#{version}/ChatGPT_#{version}_macos_#{arch}.dmg" url "https://github.com/lencx/ChatGPT/releases/download/v#{version}/ChatGPT_#{version}_macos_#{arch}.dmg"