homebrew-cask/Casks/auristor-client.rb

34 lines
1.3 KiB
Ruby

cask 'auristor-client' do
version '0.180'
if MacOS.version <= :el_capitan
sha256 '55477dd0db061dd46e203cd81be5c13377a11005f142fe9d052702d1d4ea47fe'
url "https://www.auristor.com/downloads/auristor/osx/macos-10.11/AuriStor-client-#{version}-ElCapitan.dmg"
elsif MacOS.version <= :sierra
sha256 'b0769ccf920f8af37b6789fe977f1798d1861b2a57ca93a8f10fe3ffbb37ff5d'
url "https://www.auristor.com/downloads/auristor/osx/macos-10.12/AuriStor-client-#{version}-Sierra.dmg"
else
sha256 'f87baa459cc7d66f22aa2064da5a175ab4559ccd1536a0fb46c5eea137202cdc'
url "https://www.auristor.com/downloads/auristor/osx/macos-10.13/AuriStor-client-#{version}-HighSierra.dmg"
end
name 'AuriStor File System Client'
homepage 'https://www.auristor.com/'
# Unusual case: The software will stop working, or is dangerous to run, on the next macOS release.
depends_on macos: [
:el_capitan,
:sierra,
:high_sierra,
]
pkg 'Auristor-Lite.pkg'
uninstall pkgutil: 'com.auristor.yfs-*',
launchctl: [
'com.auristor.XPCHelper',
'com.auristor.yfs-client',
],
kext: 'com.auristor.filesystems.yfs'
end