homebrew-cask/Casks/oni.rb

23 lines
894 B
Ruby

cask 'oni' do
version '0.2.18'
sha256 'afaef5dea4806ca8bd28d8c82df12f4d1b3a727f46b3ae861d33cfa4831d7e20'
# github.com/onivim/oni was verified as official when first introduced to the cask
url "https://github.com/onivim/oni/releases/download/v#{version}/Oni-#{version}-osx.dmg"
appcast 'https://github.com/onivim/oni/releases.atom',
checkpoint: '8522cc8facc84b5e9cad5b6b6e9f02e4ee9d1f00ccc610e43353657575366a02'
name 'Oni'
homepage 'https://www.onivim.io/'
app 'Oni.app'
binary "#{appdir}/Oni.app/Contents/Resources/app/oni.sh", target: 'oni'
zap trash: [
'~/.oni',
'~/Library/Application Support/oni',
'~/Library/Preferences/com.extropy.oni.helper.plist',
'~/Library/Preferences/com.extropy.oni.plist',
'~/Library/Saved Application State/com.extropy.oni.savedState',
]
end