18 lines
633 B
Ruby
18 lines
633 B
Ruby
cask 'mgba' do
|
|
version '0.7.2'
|
|
sha256 'aa5539ae4a61d0101901e18f4ba8457d4c3efdd2fa28c0b5ef7ea5089dcf8b77'
|
|
|
|
# github.com/mgba-emu/mgba was verified as official when first introduced to the cask
|
|
url "https://github.com/mgba-emu/mgba/releases/download/#{version}/mGBA-#{version}-osx.tar.xz"
|
|
appcast 'https://github.com/mgba-emu/mgba/releases.atom'
|
|
name 'mGBA'
|
|
homepage 'https://mgba.io/'
|
|
|
|
app "mGBA-#{version}-osx/Applications/mGBA.app"
|
|
|
|
zap trash: [
|
|
'~/Library/Preferences/com.endrift.mgba-qt.plist',
|
|
'~/Library/Saved Application State/com.endrift.mgba-qt.savedState',
|
|
]
|
|
end
|