-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
/
Copy pathegnyte.rb
37 lines (32 loc) · 1.68 KB
/
egnyte.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
cask "egnyte" do
version "1.4.0,2184"
sha256 "22a8575431b1726cf3dba686ba55196bcfeb0165573a83d00c662707675a8c76"
url "https://egnyte-cdn.egnyte.com/desktopapp/mac/en-us/#{version.csv.first}/Egnyte_#{version.csv.first}_#{version.csv.second}.dmg"
name "Egnyte"
desc "Client for the Egnyte cloud storage service"
homepage "https://www.egnyte.com/"
livecheck do
url "https://egnyte-cdn.egnyte.com/desktopapp/mac/en-us/versions/default.xml"
strategy :sparkle
end
depends_on macos: ">= :ventura"
app "Egnyte.app"
zap trash: [
"~/Library/Application Scripts/com.egnyte.DesktopApp.FileProvider/",
"~/Library/Application Scripts/com.egnyte.DesktopApp.FinderHelper",
"~/Library/Application Scripts/com.egnyte.DesktopApp.FinderHelper.FinderSync",
"~/Library/Application Scripts/com.egnyte.DesktopApp/",
"~/Library/Application Scripts/FELUD555VC.group.com.egnyte.DesktopApp/",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.egnyte.desktopapp.sfl*",
"~/Library/Application Support/FileProvider/com.egnyte.DesktopApp.FileProvider/",
"~/Library/Caches/SentryCrash/EgnyteLaunchHelper/",
"~/Library/Caches/SentryCrash/EgnyteUpgradeChecker/",
"~/Library/CloudStorage/Egnyte-*/",
"~/Library/Containers/com.egnyte.DesktopApp",
"~/Library/Containers/com.egnyte.DesktopApp.FileProvider",
"~/Library/Containers/com.egnyte.DesktopApp.FinderHelper",
"~/Library/Containers/com.egnyte.DesktopApp.FinderHelper.FinderSync",
"~/Library/Group Containers/FELUD555VC.group.com.egnyte.DesktopApp/",
"~/Library/Preferences/com.apple.FileProvider/com.egnyte.DesktopApp.FileProvider/",
]
end