Skip to content

Commit

Permalink
update livecheck, version and download url
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanazamfirei committed Oct 1, 2023
1 parent ce82893 commit c44f3c9
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions Casks/d/deepl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
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|
Expand All @@ -13,17 +11,18 @@
end
end
on_big_sur :or_newer do
version "23.9.1591123"
sha256 :no_check

url "https://appdownload.deepl.com/macos/bigsur/DeepL.dmg"
version "4.6.565727"
sha256 "148224d1a5359f2322c6d9cda5a4f4270d964b9201467eba33fb4af98a889e6b"

livecheck do
url :url
strategy :extract_plist
url "https://appdownload.deepl.com/macos/bigsur/update.json"
strategy :json do |json|
json["currentRelease"]
end
end
end

url "https://www.deepl.com/macos/download/#{version}/DeepL_#{version}.zip"
name "DeepL"
desc "Trains AIs to understand and translate texts"
homepage "https://www.deepl.com/"
Expand All @@ -39,8 +38,7 @@
]

zap trash: [
"~/Library/Caches/com.linguee.DeepLCopyTranslator",
"~/Library/Caches/com.linguee.DeepLCopyTranslator.ShipIt",
"~/Library/Caches/com.linguee.DeepLCopyTranslator*",
"~/Library/Group Containers/*.com.linguee.DeepL",
"~/Library/Preferences/com.linguee.DeepLCopyTranslator.plist",
]
Expand Down

0 comments on commit c44f3c9

Please sign in to comment.