homebrew-cask/Casks/iina.rb

25 lines
1.0 KiB
Ruby

cask 'iina' do
version '0.0.9'
sha256 '3e688a9a41214cedb3ba92a4a140eaaa772a061d9a4f125e0ccb50d3fc50202d'
# github.com/lhc70000/iina was verified as official when first introduced to the cask
url "https://github.com/lhc70000/iina/releases/download/v#{version}/IINA.v#{version}.dmg"
appcast 'https://github.com/lhc70000/iina/releases.atom',
checkpoint: '54db4d57585a2709f7f3457b633a01b42b27dc368942fc9773633704991cbfb9'
name 'IINA'
homepage 'https://lhc70000.github.io/iina/'
auto_updates true
depends_on macos: '>= :yosemite'
app 'IINA.app'
zap delete: [
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.colliderli.iina.sfl',
'~/Library/Application Support/com.colliderli.iina',
'~/Library/Caches/com.colliderli.iina',
'~/Library/Preferences/com.colliderli.iina.plist',
'~/Library/Saved Application State/com.colliderli.iina.savedState',
]
end