22 lines
1.0 KiB
Ruby
22 lines
1.0 KiB
Ruby
cask 'openbazaar' do
|
|
version '2.2.5'
|
|
sha256 'c9a028a571d52b7100b1447073d54a8834dbc219699976b982b4e25f14606496'
|
|
|
|
# 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
|