2019-01-14 23:41:30 +08:00
|
|
|
cask 'reikey' do
|
2019-02-11 23:13:05 +08:00
|
|
|
version '1.4.0'
|
|
|
|
sha256 '9a7c70eeae3fdfdd67cfc95229c3d64201ba350dad1ae95ae586c486b1076475'
|
2019-01-14 23:41:30 +08:00
|
|
|
|
|
|
|
# bitbucket.org/objective-see was verified as official when first introduced to the cask
|
|
|
|
url "https://bitbucket.org/objective-see/deploy/downloads/ReiKey_#{version}.zip"
|
|
|
|
appcast 'https://objective-see.com/products/changelogs/ReiKey.txt'
|
|
|
|
name 'ReiKey'
|
|
|
|
homepage 'https://objective-see.com/products/reikey.html'
|
|
|
|
|
2019-01-19 00:14:48 +08:00
|
|
|
depends_on macos: '>= :high_sierra'
|
2019-01-14 23:41:30 +08:00
|
|
|
|
|
|
|
installer script: {
|
|
|
|
executable: "#{staged_path}/ReiKey Installer.app/Contents/MacOS/ReiKey Installer",
|
|
|
|
args: ['-install'],
|
|
|
|
sudo: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
uninstall script: {
|
|
|
|
executable: "#{staged_path}/ReiKey Installer.app/Contents/MacOS/ReiKey Installer",
|
|
|
|
args: ['-uninstall'],
|
|
|
|
sudo: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
zap trash: [
|
|
|
|
'~/Library/Caches/SentryCrash/ReiKey Installer',
|
|
|
|
'~/Library/Caches/SentryCrash/ReiKey Installer/Data',
|
|
|
|
'~/Library/Caches/SentryCrash/ReiKey Installer/Data/ConsoleLog.txt',
|
|
|
|
'~/Library/Caches/SentryCrash/ReiKey Installer/Data/CrashState.json',
|
|
|
|
'~/Library/Caches/SentryCrash/ReiKey Installer/Reports',
|
|
|
|
]
|
|
|
|
end
|