homebrew-cask/Casks/texstudio.rb

21 lines
818 B
Ruby

cask 'texstudio' do
version '2.12.14'
sha256 '3bf1c6dd6c114cba975d3c15bb48d50a47b33e7e6abab1335fcf22650f175834'
# github.com/texstudio-org/texstudio was verified as official when first introduced to the cask
url "https://github.com/texstudio-org/texstudio/releases/download/#{version}/texstudio-#{version}-osx.dmg"
appcast 'https://github.com/texstudio-org/texstudio/releases.atom'
name 'TeXstudio'
homepage 'https://texstudio.org/'
conflicts_with cask: 'texstudio-beta'
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