forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathferdi.rb
30 lines (25 loc) · 1.21 KB
/
ferdi.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
cask 'ferdi' do
version '5.5.0'
sha256 '7e9d5ff9f4780636bc2595127f4a86fc77b794d87e6de992fa41e7d8f9c95380'
# github.com/getferdi/ferdi/ was verified as official when first introduced to the cask
url "https://github.com/getferdi/ferdi/releases/download/v#{version}/Ferdi-#{version}.dmg"
appcast 'https://github.com/getferdi/ferdi/releases.atom'
name 'Ferdi'
homepage 'https://getferdi.com/'
auto_updates true
app 'Ferdi.app'
uninstall quit: 'com.kytwb.ferdi',
delete: '/Library/Logs/DiagnosticReports/Ferdi Helper_.*wakeups_resource.diag'
zap trash: [
'~/Library/Application Support/Caches/ferdi-updater',
'~/Library/Application Support/Ferdi',
'~/Library/Caches/com.kytwb.ferdi',
'~/Library/Caches/com.kytwb.ferdi.ShipIt',
'~/Library/Logs/Ferdi',
'~/Library/Preferences/ByHost/com.kytwb.ferdi.ShipIt.*.plist',
'~/Library/Preferences/com.electron.ferdi.helper.plist',
'~/Library/Preferences/com.electron.ferdi.plist',
'~/Library/Preferences/com.kytwb.ferdi.plist',
'~/Library/Saved Application State/com.kytwb.ferdi.savedState',
]
end