24 lines
855 B
Ruby
24 lines
855 B
Ruby
cask 'texpad' do
|
|
if MacOS.release >= :mavericks
|
|
version '1.7.21'
|
|
sha256 'cae312b89d25752917bf66572fd1c6b6722097b651abe9a1a1b399dc36493512'
|
|
elsif MacOS.release <= :mountain_lion && MacOS.release >= :snow_leopard
|
|
version '1.6.14'
|
|
sha256 '18fcbe93e77e5b5bc848172546962fcde397a26fd543efcc1054004369192f7e'
|
|
else
|
|
# If the app is used on MacOS lower than Snow Leopard,
|
|
# unexpected behaviour or failures can occur.
|
|
end
|
|
|
|
url "https://download.texpadapp.com/apps/osx/updates/Texpad_#{version.gsub('.', '_')}.zip"
|
|
appcast 'https://www.texpadapp.com/static-collected/upgrades/texpadappcast.xml',
|
|
checkpoint: 'c2ae454ef1b24a4ed05aa2cd361017159385ea8d030b102f693446d5bc020c8e'
|
|
name 'Texpad'
|
|
homepage 'https://www.texpadapp.com/osx'
|
|
license :commercial
|
|
|
|
depends_on macos: '>= :snow_leopard'
|
|
|
|
app 'Texpad.app'
|
|
end
|