-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
/
Copy pathbitrix24.rb
31 lines (25 loc) · 989 Bytes
/
bitrix24.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
cask "bitrix24" do
arch arm: "macos_arm", intel: "desktop"
# NOTE: "24" is not a version number, but an intrinsic part of the product name
version "16.0.37.83"
sha256 :no_check
url "https://dl.bitrix24.com/b24/bitrix24_#{arch}.dmg"
name "Bitrix24"
desc "Online workspace for your business"
homepage "https://www.bitrix24.com/apps/mobile-and-desktop-apps.php#desktop_app"
livecheck do
url "https://www.bitrix24.com/osx_version.php"
strategy :sparkle
end
depends_on macos: ">= :catalina"
app "Bitrix24.app"
zap trash: [
"~/.bxd",
"~/Library/Application Scripts/com.bitrixsoft.bitrix24desktop",
"~/Library/Application Scripts/com.bitrixsoft.bitrix24desktop.finder-ext",
"~/Library/Containers/com.bitrixsoft.bitrix24desktop.finder-ext",
"~/Library/Group Containers/com.bitrixsoft.bitrix24desktop",
"~/Library/HTTPStorages/com.bitrixsoft.bitrix24desktop",
"~/Library/Preferences/com.bitrixsoft.bitrix24desktop.plist",
]
end