26 lines
988 B
Ruby
26 lines
988 B
Ruby
cask 'typora' do
|
|
version '0.9.9.30.1'
|
|
sha256 '8b5b2fb9ed22c92b0973cba7b9267386f149d3378fcb42e3c000cbe6664cf2e9'
|
|
|
|
url "https://www.typora.io/download/Typora-#{version}.dmg"
|
|
appcast 'https://www.typora.io/download/dev_update.xml'
|
|
name 'Typora'
|
|
homepage 'https://typora.io/'
|
|
|
|
auto_updates true
|
|
depends_on macos: '>= :high_sierra'
|
|
|
|
app 'Typora.app'
|
|
|
|
zap trash: [
|
|
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/abnerworks.typora.sfl*',
|
|
'~/Library/Application Support/Typora',
|
|
'~/Library/Application Support/abnerworks.Typora',
|
|
'~/Library/Caches/abnerworks.Typora',
|
|
'~/Library/Cookies/abnerworks.Typora.binarycookies',
|
|
'~/Library/Preferences/abnerworks.Typora.plist',
|
|
'~/Library/Saved Application State/abnerworks.Typora.savedState',
|
|
'~/Library/WebKit/abnerworks.Typora',
|
|
]
|
|
end
|