Skip to content

Commit 6a635e1

Browse files
committed
bitrix24: add auto_updates, fix depends_on and zap
Adds `auto_updates` stanza since there is an in-app Check for Updates menu. Change `arch` label to match the naming convention used on the website's download. Update `depends_on` version according to `brew audit` Modify `zap` to include all preference files generated by the app. Update `desc` phrasing to clarify and remove the word "your."
1 parent f9cd747 commit 6a635e1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Casks/b/bitrix24.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
cask "bitrix24" do
22
# NOTE: "24" is not a version number, but an intrinsic part of the product name
3-
arch arm: "macos_arm", intel: "desktop"
3+
arch arm: "desktop_arm", intel: "desktop"
44

55
version "19.0.23.89"
66
sha256 :no_check
77

88
url "https://dl.bitrix24.com/b24/bitrix24_#{arch}.dmg"
99
name "Bitrix24"
10-
desc "Online workspace for your business"
10+
desc "Business management platform"
1111
homepage "https://www.bitrix24.com/apps/mobile-and-desktop-apps.php#desktop_app"
1212

1313
livecheck do
1414
url "https://www.bitrix24.com/osx_version.php"
1515
strategy :sparkle
1616
end
1717

18-
depends_on macos: ">= :big_sur"
18+
auto_updates true
19+
depends_on macos: ">= :monterey"
1920

2021
app "Bitrix24.app"
2122

@@ -26,6 +27,6 @@
2627
"~/Library/Containers/com.bitrixsoft.bitrix24desktop.finder-ext",
2728
"~/Library/Group Containers/com.bitrixsoft.bitrix24desktop",
2829
"~/Library/HTTPStorages/com.bitrixsoft.bitrix24desktop",
29-
"~/Library/Preferences/com.bitrixsoft.bitrix24desktop.plist",
30+
"~/Library/Preferences/com.bitrixsoft.bitrix24desktop*",
3031
]
3132
end

0 commit comments

Comments
 (0)