homebrew-cask/Casks/mgba.rb

18 lines
620 B
Ruby
Raw Normal View History

2016-10-01 22:25:28 +08:00
cask 'mgba' do
2018-04-19 03:21:58 +08:00
version '0.6.3'
sha256 '4a86bb19c5e7027727903f7bcb1678e8a7e6dff4219c044e03349cc2d17ae5f3'
2016-10-01 22:25:28 +08:00
# github.com/mgba-emu/mgba was verified as official when first introduced to the cask
2018-04-19 03:21:58 +08:00
url "https://github.com/mgba-emu/mgba/releases/download/#{version}/mGBA-#{version}-osx.tar.xz"
2018-06-12 22:37:26 +08:00
appcast 'https://github.com/mgba-emu/mgba/releases.atom'
2016-10-01 22:25:28 +08:00
name 'mGBA'
homepage 'https://mgba.io/'
2018-04-19 03:21:58 +08:00
app "mGBA-#{version}-osx/mGBA.app"
2018-05-28 00:03:50 +08:00
zap trash: [
'~/Library/Preferences/com.endrift.mgba-qt.plist',
'~/Library/Saved Application State/com.endrift.mgba-qt.savedState',
]
2016-10-01 22:25:28 +08:00
end