22 lines
1.0 KiB
Ruby
22 lines
1.0 KiB
Ruby
cask 'openbazaar' do
|
|
version '2.2.4'
|
|
sha256 '139dd40cc84b1842a677cb3b7fde9d128f84bfceae74d20cde0d35b6e728f9eb'
|
|
|
|
# github.com/OpenBazaar/openbazaar-desktop was verified as official when first introduced to the cask
|
|
url "https://github.com/OpenBazaar/openbazaar-desktop/releases/download/v#{version}/OpenBazaar#{version.major}-#{version.major_minor_patch}.dmg"
|
|
appcast 'https://github.com/OpenBazaar/openbazaar-desktop/releases.atom'
|
|
name "OpenBazaar#{version.major}"
|
|
homepage 'https://www.openbazaar.org/'
|
|
|
|
app "OpenBazaar#{version.major}.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/OpenBazaar#{version.major_minor}",
|
|
"~/Library/Caches/com.electron.openbazaar#{version.major}",
|
|
"~/Library/Caches/com.electron.openbazaar#{version.major}.ShipIt",
|
|
'~/Library/Caches/com.electron.openbazaar',
|
|
"~/Library/Preferences/com.electron.openbazaar#{version.major}.helper.plist",
|
|
'~/Library/Preferences/com.electron.openbazaar.plist',
|
|
]
|
|
end
|