homebrew-cask/Casks/bitcoin-core.rb

22 lines
701 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'bitcoin-core' do
2017-01-04 20:52:01 +08:00
version '0.13.2'
sha256 'dac105b49c159a3d8c9463d1f05afe4cf29ec40bbd145e8961132693b7eff953'
2016-08-24 13:12:44 +08:00
# bitcoin.org was verified as official when first introduced to the cask
2015-04-30 02:00:06 +08:00
url "https://bitcoin.org/bin/bitcoin-core-#{version}/bitcoin-#{version}-osx.dmg"
2015-02-08 18:58:43 +08:00
name 'Bitcoin Core'
2016-08-24 13:12:44 +08:00
homepage 'https://bitcoincore.org/'
conflicts_with cask: 'bitcoin-xt'
2016-10-30 10:39:11 +08:00
depends_on macos: '>= :mountain_lion'
# Renamed for consistency: app name is different in the Finder and in a shell.
app 'Bitcoin-Qt.app', target: 'Bitcoin Core.app'
preflight do
set_permissions "#{staged_path}/Bitcoin-Qt.app", '0755'
end
2017-01-04 20:52:01 +08:00
zap delete: '~/Library/Preferences/org.bitcoin.Bitcoin-Qt.plist'
end