-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
/
sophos-anti-virus-home-edition.rb
49 lines (45 loc) · 2.26 KB
/
sophos-anti-virus-home-edition.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
cask 'sophos-anti-virus-home-edition' do
version :latest
sha256 :no_check
url 'https://downloads.sophos.com/home-edition/savosx_he_r.zip'
name 'Sophos Anti-Virus Home Edition'
homepage 'https://www.sophos.com/en-us/products/free-tools/sophos-antivirus-for-mac-home-edition.aspx/'
license :gratis
installer script: 'Sophos Anti-Virus Home Edition.app/Contents/MacOS/tools/InstallationDeployer', args: %w[--install]
uninstall script: {
executable: 'Sophos Anti-Virus Home Edition.app/Contents/MacOS/tools/InstallationDeployer',
args: %w[--remove],
},
launchctl: [
'com.sophos.common.servicemanager',
'com.sophos.uiserver',
],
kext: [
'com.sophos.kext.sav',
'com.sophos.nke.swi',
],
quit: 'com.sophos.ui',
delete: [
'/Applications/Remove Sophos Anti-Virus.app',
'/Applications/Sophos Anti-Virus.app',
'/Library/Extensions/SophosNetworkInterceptor.kext',
'/Library/Extensions/SophosOnAccessInterceptor.kext',
'/Library/Frameworks/SAVI.framework',
'/Library/Frameworks/SUMScanKit.framework',
'/Library/Frameworks/SophosGenericsCommon.framework',
'/Library/Frameworks/SophosGenericsCore.framework',
'/Library/LaunchAgents/com.sophos.uiserver.plist',
'/Library/Sophos Anti-Virus',
'/usr/bin/sweep',
'/usr/share/man/man1/sweep.1',
]
zap delete: [
'/Library/Application Support/Sophos',
'/Library/Preferences/com.sophos.ac.plist',
'/Library/Preferences/com.sophos.dc.plist',
'/Library/Preferences/com.sophos.mcs.plist',
'/Library/Preferences/com.sophos.sau.plist',
'/Library/Preferences/com.sophos.sav.plist',
'/Library/Preferences/com.sophos.swc.plist',
]
end