2016-03-26 06:56:04 +08:00
|
|
|
cask 'bitcoin-xt' do
|
2018-07-17 04:30:00 +08:00
|
|
|
version '0.11.0,J'
|
|
|
|
sha256 '838534841d6cd2fe72961508805086b48543ba5c1fb01519d0025add33e94a4c'
|
2016-03-26 06:56:04 +08:00
|
|
|
|
|
|
|
# github.com/bitcoinxt/bitcoinxt was verified as official when first introduced to the cask
|
2018-07-17 04:30:00 +08:00
|
|
|
url "https://github.com/bitcoinxt/bitcoinxt/releases/download/v#{version.major_minor}#{version.after_comma}/bitcoin-xt-#{version.before_comma}-#{version.after_comma}-osx-unsigned.dmg",
|
2016-03-26 06:56:04 +08:00
|
|
|
cookies: {
|
|
|
|
'i_follow_redirects' => 'yes',
|
|
|
|
}
|
2018-06-12 22:37:26 +08:00
|
|
|
appcast 'https://github.com/bitcoinxt/bitcoinxt/releases.atom'
|
2016-03-26 06:56:04 +08:00
|
|
|
name 'Bitcoin XT'
|
|
|
|
homepage 'https://bitcoinxt.software/'
|
2016-03-27 11:30:41 +08:00
|
|
|
|
|
|
|
conflicts_with cask: 'bitcoin-core'
|
2016-03-26 06:56:04 +08:00
|
|
|
|
|
|
|
app 'Bitcoin-XT.app'
|
2016-03-27 11:30:41 +08:00
|
|
|
|
2016-09-12 04:38:09 +08:00
|
|
|
preflight do
|
|
|
|
set_permissions "#{staged_path}/Bitcoin-Xt.app", '0755'
|
|
|
|
end
|
|
|
|
|
2017-11-18 17:38:07 +08:00
|
|
|
zap trash: [
|
|
|
|
'~/Library/Preferences/org.bitcoin.Bitcoin-Qt.plist',
|
|
|
|
]
|
2016-03-26 06:56:04 +08:00
|
|
|
end
|