27 lines
1.1 KiB
Ruby
27 lines
1.1 KiB
Ruby
cask 'coteditor' do
|
|
if MacOS.release <= :snow_leopard
|
|
version '1.3.1'
|
|
sha256 '5c871bd9de30fc3c76fc66acb4ea258d4d3762ae341181d65a7ef1f8de4751c5'
|
|
# github.com is the official download host per the vendor homepage
|
|
url "https://github.com/coteditor/CotEditor/releases/download/#{version}/CotEditor_#{version}_For10.4.dmg"
|
|
elsif MacOS.release <= :lion
|
|
version '1.5.4'
|
|
sha256 '444133083698c7c94c2b029644f39a0e36982ae34c24745789fa890626188347'
|
|
# github.com is the official download host per the vendor homepage
|
|
url "https://github.com/coteditor/CotEditor/releases/download/#{version}/CotEditor_#{version}.dmg"
|
|
else
|
|
version '2.3.3'
|
|
sha256 '7d8b339dbc12e28854700be70a4c26be7dd65130cd555954bf63dc2ab6feb8c4'
|
|
# github.com is the official download host per the vendor homepage
|
|
url "https://github.com/coteditor/CotEditor/releases/download/#{version}/CotEditor_#{version}.dmg"
|
|
end
|
|
|
|
appcast 'https://github.com/coteditor/CotEditor/releases.atom',
|
|
:sha256 => '24f111f2cce5f41a03705aa0e258fae65722366912dacbbd3d63cfcd94f94114'
|
|
name 'CotEditor'
|
|
homepage 'https://coteditor.com/'
|
|
license :gpl
|
|
|
|
app 'CotEditor.app'
|
|
end
|