homebrew-cask/Casks/texstudio.rb

22 lines
744 B
Ruby

cask "texstudio" do
version "3.0.1"
sha256 "32b6a348ce75a9f828d14ead0afbb0d1082ea355b0f7b4c9a6cac3e7d68c6bd8"
url "https://github.com/texstudio-org/texstudio/releases/download/#{version}/texstudio-#{version}-osx.dmg",
verified: "github.com/texstudio-org/texstudio/"
appcast "https://github.com/texstudio-org/texstudio/releases.atom"
name "TeXstudio"
desc "LaTeX editor"
homepage "https://texstudio.org/"
depends_on macos: ">= :sierra"
app "texstudio.app"
zap trash: [
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/texstudio.sfl*",
"~/Library/Preferences/texstudio.plist",
"~/Library/Saved Application State/texstudio.savedState",
]
end