From 8664fa7d9c51b4b8ba8ecbcceaace695e7b2b847 Mon Sep 17 00:00:00 2001 From: Razvan Azamfirei Date: Thu, 28 Sep 2023 20:03:05 -0400 Subject: [PATCH 1/4] deepl 23.9.1591123 --- Casks/d/deepl.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Casks/d/deepl.rb b/Casks/d/deepl.rb index 1779dedae84b3..debef6590d1d6 100644 --- a/Casks/d/deepl.rb +++ b/Casks/d/deepl.rb @@ -11,8 +11,8 @@ end end on_big_sur :or_newer do - version "4.6.565727" - sha256 "148224d1a5359f2322c6d9cda5a4f4270d964b9201467eba33fb4af98a889e6b" + version "23.9.1591123" + sha256 "da0597fdfaa5883b8ff354d01a576a9dca3cfa340b9de70fc3eba4ca71765ae6" livecheck do url "https://appdownload.deepl.com/macos/bigsur/update.json" From feedfa28d3610a5fa66aa02d1e353fe3e9f336d8 Mon Sep 17 00:00:00 2001 From: Miccal Matthews Date: Fri, 29 Sep 2023 21:43:11 +0800 Subject: [PATCH 2/4] Update deepl.rb --- Casks/d/deepl.rb | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Casks/d/deepl.rb b/Casks/d/deepl.rb index debef6590d1d6..6b01c4b7933b7 100644 --- a/Casks/d/deepl.rb +++ b/Casks/d/deepl.rb @@ -3,6 +3,8 @@ 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 @@ 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/" From ce82893262fb0c0a4eead66527ae6fe47f3d79f0 Mon Sep 17 00:00:00 2001 From: Miccal Matthews Date: Fri, 29 Sep 2023 21:49:26 +0800 Subject: [PATCH 3/4] Update deepl.rb --- Casks/d/deepl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Casks/d/deepl.rb b/Casks/d/deepl.rb index 6b01c4b7933b7..8df2a5fb69c47 100644 --- a/Casks/d/deepl.rb +++ b/Casks/d/deepl.rb @@ -13,7 +13,7 @@ end end on_big_sur :or_newer do - version "23.9.1591123,1591123" + version "23.9.1591123" sha256 :no_check url "https://appdownload.deepl.com/macos/bigsur/DeepL.dmg" From c44f3c9b0ef58215f0063322079909f2e4644451 Mon Sep 17 00:00:00 2001 From: Razvan Azamfirei Date: Sun, 1 Oct 2023 19:04:00 -0400 Subject: [PATCH 4/4] update livecheck, version and download url --- Casks/d/deepl.rb | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/Casks/d/deepl.rb b/Casks/d/deepl.rb index 8df2a5fb69c47..9cd0d652c360b 100644 --- a/Casks/d/deepl.rb +++ b/Casks/d/deepl.rb @@ -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| @@ -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/" @@ -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", ]