diff --git a/Casks/t/texstudio.rb b/Casks/t/texstudio.rb index 04d54ef1d016..2943e2a2e13f 100644 --- a/Casks/t/texstudio.rb +++ b/Casks/t/texstudio.rb @@ -1,27 +1,25 @@ cask "texstudio" do - arch arm: "-m1.zip", intel: ".dmg" + arch arm: "-m1", intel: "" - version "4.8.4" - sha256 arm: "f66ede26faa71dbfbb12e3d02036a826e0a8f08f437078b25aa81b53336489d0", - intel: "43f70201a54d3622983093d99636529935a6d911a5cd99f70637c35f052ccd6e" + version "4.8.5" + sha256 arm: "dd7b7b2d5918afe10c35ebdb06790b35b72364740faf9e35ef7b78b5dba456fc", + intel: "1f1925bda6d82003481c1952f8702597dfb71657d2ad774e452af1e9e45036d4" on_arm do depends_on macos: ">= :sonoma" - - app "texstudio-#{version}-osx-m1.app" end on_intel do depends_on macos: ">= :big_sur" - - app "texstudio.app" end - url "https://github.com/texstudio-org/texstudio/releases/download/#{version}/texstudio-#{version}-osx#{arch}", + url "https://github.com/texstudio-org/texstudio/releases/download/#{version}/texstudio-#{version}-osx#{arch}.zip", verified: "github.com/texstudio-org/texstudio/" name "TeXstudio" desc "LaTeX editor" homepage "https://texstudio.org/" + app "texstudio-#{version}-osx#{arch}.app" + zap trash: [ "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/texstudio.sfl*", "~/Library/Preferences/texstudio.plist",