homebrew-cask/Casks/texstudio.rb

21 lines
817 B
Ruby

cask 'texstudio' do
version '2.12.10'
sha256 '03c9cfc4ae1b296e4a46f140b642b7b84121994d6cc0b1e63fbdb51c5f2e234b'
# 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 'http://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