Update deepl.rb

This commit is contained in:
Miccal Matthews
2023-09-29 21:43:11 +08:00
committed by GitHub
parent 8664fa7d9c
commit feedfa28d3
+8 -7
View File
@@ -3,6 +3,8 @@ cask "deepl" do
version "3.7.292629"
sha256 "efcac4988a606d9793a3bdb8e7e73dce8e3d06ed2249a4434eb54c1624b40b87"
url "https://appdownload.deepl.com/macos/#{version}/DeepL_#{version}.zip"
livecheck do
url "https://appdownload.deepl.com/macos/update.json"
strategy :json do |json|
@@ -11,18 +13,17 @@ cask "deepl" do
end
end
on_big_sur :or_newer do
version "23.9.1591123"
sha256 "da0597fdfaa5883b8ff354d01a576a9dca3cfa340b9de70fc3eba4ca71765ae6"
version "23.9.1591123,1591123"
sha256 :no_check
url "https://appdownload.deepl.com/macos/bigsur/DeepL.dmg"
livecheck do
url "https://appdownload.deepl.com/macos/bigsur/update.json"
strategy :json do |json|
json["currentRelease"]
end
url :url
strategy :extract_plist
end
end
url "https://appdownload.deepl.com/macos/#{version}/DeepL_#{version}.zip"
name "DeepL"
desc "Trains AIs to understand and translate texts"
homepage "https://www.deepl.com/"