diff --git a/Casks/u/unity-windows-support-for-editor.rb b/Casks/u/unity-windows-support-for-editor.rb index 1cd0341d28274..7a3de2a2a23a4 100644 --- a/Casks/u/unity-windows-support-for-editor.rb +++ b/Casks/u/unity-windows-support-for-editor.rb @@ -1,6 +1,6 @@ cask "unity-windows-support-for-editor" do - version "2023.2.18f1,1cb755715f58" - sha256 "cc3d35eb195b1a7e351e49d3c022a92959338143eed02355815f0b44b128c010" + version "2023.2.20f1,0e25a174756c" + sha256 "ddb913827886eb914ae07afaf8b802c70d669c1864bc6ddfbb02e65629864372" url "https://download.unity3d.com/download_unity/#{version.csv.second}/MacEditorTargetInstaller/UnitySetup-Windows-Mono-Support-for-Editor-#{version.csv.first}.pkg", verified: "download.unity3d.com/download_unity/" @@ -9,14 +9,7 @@ homepage "https://unity.com/products" livecheck do - url "https://public-cdn.cloud.unity3d.com/hub/prod/releases-darwin.json" - regex(%r{ - /download_unity/(\h+)/MacEditorTargetInstaller - /UnitySetup-Windows-Mono-Support-for-Editor-(\d+(?:\.\d+)+[a-z]*\d*)\.pkg - }ix) - strategy :page_match do |page, regex| - page.scan(regex).map { |match| "#{match[1]},#{match[0]}" } - end + cask "unity" end depends_on cask: "unity"