2015-12-18 09:15:28 +08:00
|
|
|
cask 'macdown' do
|
2017-05-15 08:53:59 +08:00
|
|
|
version '0.7.1'
|
2017-05-16 10:58:02 +08:00
|
|
|
sha256 '4b26fb70b399cd998f226a78f81cd74348da19a8953aca80169fd7d00667496c'
|
2014-06-26 08:27:23 +08:00
|
|
|
|
2016-11-09 06:43:41 +08:00
|
|
|
# github.com/MacDownApp/macdown was verified as official when first introduced to the cask
|
|
|
|
url "https://github.com/MacDownApp/macdown/releases/download/v#{version}/MacDown.app.zip"
|
2017-05-16 10:58:02 +08:00
|
|
|
appcast 'https://macdown.uranusjr.com/sparkle/macdown/stable/appcast.xml',
|
|
|
|
checkpoint: '0f66f2a2ec60b25ce7b15cf153db4245badf0c1252196e2bfda8a9d401767789'
|
2015-04-12 02:42:49 +08:00
|
|
|
name 'MacDown'
|
2017-05-02 09:02:48 +08:00
|
|
|
homepage 'https://macdown.uranusjr.com/'
|
2017-04-18 09:19:18 +08:00
|
|
|
|
|
|
|
auto_updates true
|
2017-05-16 10:58:02 +08:00
|
|
|
depends_on macos: '>= :mountain_lion'
|
2014-06-26 08:27:23 +08:00
|
|
|
|
2014-09-24 05:10:00 +08:00
|
|
|
app 'MacDown.app'
|
2016-06-01 03:23:21 +08:00
|
|
|
binary "#{appdir}/MacDown.app/Contents/SharedSupport/bin/macdown"
|
2014-12-05 15:28:16 +08:00
|
|
|
|
2017-11-18 18:19:20 +08:00
|
|
|
zap trash: [
|
|
|
|
'~/Library/Application Support/MacDown',
|
|
|
|
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.uranusjr.macdown.sfl*',
|
|
|
|
'~/Library/Caches/com.uranusjr.macdown',
|
|
|
|
'~/Library/Cookies/com.uranusjr.macdown.binarycookies',
|
|
|
|
'~/Library/Preferences/com.uranusjr.macdown.plist',
|
|
|
|
'~/Library/Saved Application State/com.uranusjr.macdown.savedState',
|
|
|
|
'~/Library/WebKit/com.uranusjr.macdown',
|
|
|
|
]
|
2014-06-26 08:27:23 +08:00
|
|
|
end
|