Skip to content

Commit

Permalink
Updated at 2024-11-27T01:59:02.456Z
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 27, 2024
1 parent 437d41d commit 09108db
Show file tree
Hide file tree
Showing 677 changed files with 2,915 additions and 2,639 deletions.
6 changes: 3 additions & 3 deletions Casks/1/1password.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
cask "1password" do
arch arm: "aarch64", intel: "x86_64"

version "8.10.52"
sha256 arm: "a8c4733f7836463b120e5132b6058112053b27bc47f60d1a00bbea86c0d7fbe1",
intel: "0faf2fdf5bfbb405a15bc0abee676add6223d14a25fd1d16a78c96737c21c33a"
version "8.10.54"
sha256 arm: "ba47f1ed5f2da2d448c87a668d60d1d8ef480e4018deeabfd23b463d7899e41c",
intel: "5e16bb68eb81bc6f91d4ae3c81d3e3fefe1446e20462fda57be4c2c700e70b09"

url "https://downloads.1password.com/mac/1Password-#{version}-#{arch}.zip"
name "1Password"
Expand Down
4 changes: 2 additions & 2 deletions Casks/a/[email protected]
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "adguard-vpn@nightly" do
version "2.5.0.709"
sha256 "9621312a51779ee8e58dfe359e8002d896fbdc98309573072ca002b4c2f518af"
version "2.5.0.714"
sha256 "a078e08ab3b6d595a581371d0ea59165d1d19e4b6eb5d34152113a264530c66e"

url "https://static.adguard-vpn.com/mac/nightly/AdGuardVPN-#{version}.dmg"
name "AdGuard VPN"
Expand Down
6 changes: 3 additions & 3 deletions Casks/a/anythingllm.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
cask "anythingllm" do
arch arm: "-Silicon"

version "1.6.11"
sha256 arm: "abde60086548918a8aaf1c84b7e0052167e09668eb7bac43c999fc21677653df",
intel: "11ebd573d9d24154d5d8365988914f9b1188b3ab1e3997537fae86fe53875e56"
version "1.7.0"
sha256 arm: "25150b3c1482c731649e97010b4e8ef7e633c23e8fb31465b5dace6a9efb762a",
intel: "54e25ad287aff795e6b5372f86792fd2d1ce993972b8f7f88a43724a6f0b0c08"

url "https://s3-us-west-1.amazonaws.com/public.useanything.com/latest/AnythingLLMDesktop#{arch}.dmg",
verified: "s3-us-west-1.amazonaws.com/public.useanything.com/"
Expand Down
6 changes: 3 additions & 3 deletions Casks/a/anytype.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
cask "anytype" do
arch arm: "arm64", intel: "x64"

version "0.43.7"
sha256 arm: "d1125da4fbe35f81f899c906db2333520c341937fe5766bb3387083728ba54a3",
intel: "71790491fce48d4683c99ce13cf0f1722a56a5f1a0f7e226d6cd2231e911549e"
version "0.43.8"
sha256 arm: "94c434d6e364d702a76d1a64590e2bf5c552d7cd3812a49830ff9935d8a22429",
intel: "6fb21ef31e2262c940fd29cd945d34e382c7350fc4ccff3062a6c8a57694cac5"

url "https://anytype-release.fra1.cdn.digitaloceanspaces.com/Anytype-#{version}-mac-#{arch}.dmg",
verified: "anytype-release.fra1.cdn.digitaloceanspaces.com/"
Expand Down
6 changes: 3 additions & 3 deletions Casks/a/[email protected]
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
cask "anytype@beta" do
arch arm: "arm64", intel: "x64"

version "0.43.7"
sha256 arm: "d1125da4fbe35f81f899c906db2333520c341937fe5766bb3387083728ba54a3",
intel: "71790491fce48d4683c99ce13cf0f1722a56a5f1a0f7e226d6cd2231e911549e"
version "0.43.8"
sha256 arm: "94c434d6e364d702a76d1a64590e2bf5c552d7cd3812a49830ff9935d8a22429",
intel: "6fb21ef31e2262c940fd29cd945d34e382c7350fc4ccff3062a6c8a57694cac5"

url "https://anytype-release.fra1.cdn.digitaloceanspaces.com/Anytype-#{version}-mac-#{arch}.dmg",
verified: "anytype-release.fra1.cdn.digitaloceanspaces.com/"
Expand Down
4 changes: 2 additions & 2 deletions Casks/a/appflowy.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "appflowy" do
version "0.7.4"
sha256 "44dd456417a8dee069d198b39e2c9567dae204232381687d4aa05ccd224e81b0"
version "0.7.5"
sha256 "41549d6dccc75a3a9478e76de50b6548d3e7fc31ef92c4e991db461bb94c64ab"

url "https:github.comAppFlowy-IOAppFlowyreleasesdownload#{version}Appflowy-#{version}-macos-universal.zip",
verified: "github.comAppFlowy-IOAppFlowy"
Expand Down
4 changes: 2 additions & 2 deletions Casks/b/ba-connected.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "ba-connected" do
version "1.49.0"
sha256 "39ce4485d1f484b7b4dfbd72021cc4c6b69b3b2d14610356e88f58c6f1ee1d65"
version "1.49.1"
sha256 "046d3876753cd3a127c98e0e431665d87c35b97533a3326a3528c63af6153319"

url "https://downloads.bsn.cloud/BA%20connected-#{version}.dmg",
verified: "downloads.bsn.cloud/"
Expand Down
6 changes: 3 additions & 3 deletions Casks/b/bazecor.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
cask "bazecor" do
arch arm: "arm64", intel: "x64"

version "1.5.4"
sha256 arm: "bb298cde2bef303323c13ca130ccb25d7bfc09ab64ddeece9e8f04584c39d170",
intel: "e739c40f2d47a3665b15cabc04b39e3ee83fc2ad9dcced2d2c9c290115d9e09b"
version "1.6.0"
sha256 arm: "df6b350321aa80d3d10ccae0fc2c3cc3bd03d223372c77ae8436764d2108cf9b",
intel: "93a433073838dc94624c4da919c6d8424daf3daae11e3d6907160404989678be"

url "https:github.comDygmalabBazecorreleasesdownloadv#{version}Bazecor-#{version}-#{arch}.dmg",
verified: "github.comDygmalabBazecor"
Expand Down
4 changes: 2 additions & 2 deletions Casks/b/betterdisplay.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
end
end
on_ventura :or_newer do
version "3.1.2"
sha256 "c37ba040ac17b68adb7bfea8a416ed2db112d5afc3315979e5558043146c8006"
version "3.2.1"
sha256 "5102d5442794ce74ea4faa8347ab19459e7131582cd138768914699c5d29a952"

livecheck do
url :url
Expand Down
4 changes: 2 additions & 2 deletions Casks/b/bettertouchtool.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "bettertouchtool" do
version "4.896,2024112501"
sha256 "3f8844bad3b070ff97dd39b108891fd7267e9c49c7df10ff5c6f0e3ee139b8bf"
version "4.899,2024112604"
sha256 "d431aaa234ccac708e4fd7b042427581693097f7c00db0a42154e1d4234b7abc"

url "https://folivora.ai/releases/btt#{version.csv.first}-#{version.csv.second}.zip"
name "BetterTouchTool"
Expand Down
2 changes: 1 addition & 1 deletion Casks/b/bitrix24.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
arch arm: "macos_arm", intel: "desktop"

# NOTE: "24" is not a version number, but an intrinsic part of the product name
version "15.3.23.79"
version "15.4.11.80"
sha256 :no_check

url "https://dl.bitrix24.com/b24/bitrix24_#{arch}.dmg"
Expand Down
4 changes: 2 additions & 2 deletions Casks/b/bluewallet.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "bluewallet" do
version "7.0.4"
sha256 "f5f9056dd8413fec1fb093d87ff05d8e688b323a14cb468445f4e5f44d97bde1"
version "7.0.5"
sha256 "56442241a7b9c8cce8578685bee4b6ea06ff6c06cffe6b999aa758011e27a40f"

url "https:github.comBlueWalletBlueWalletreleasesdownloadv#{version}BlueWallet.#{version}.dmg",
verified: "github.comBlueWalletBlueWallet"
Expand Down
6 changes: 3 additions & 3 deletions Casks/b/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
arch arm: "arm64", intel: "x64"
folder = on_arch_conditional arm: "beta-arm64", intel: "beta"

version "1.74.5.0"
sha256 arm: "6840e2215f223344bfae20fe0f4265a4591df36f12eec0e19e16ca8ac227b2f3",
intel: "84828891f8dd9213a81dffec7547f297308ae4fdbc545922290ebba4c2bbe2ce"
version "1.74.13.0"
sha256 arm: "1962618a5252427462ddebf06de3a8d1ba3890955d7bd50e8243d17e69bd069a",
intel: "5f91c641897283e09e9dfb50b7e138444baa564f52c6f57a6afad029ce68b8cc"

url "https://updates-cdn.bravesoftware.com/sparkle/Brave-Browser/#{folder}/#{version.major_minor_patch.sub(".", "")}/Brave-Browser-Beta-#{arch}.dmg",
verified: "updates-cdn.bravesoftware.com/sparkle/Brave-Browser/"
Expand Down
4 changes: 2 additions & 2 deletions Casks/b/busycal.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "busycal" do
version "2024.4.2,2024-11-24-15-31"
sha256 "a23c24468fc52c5166aa4614eaf6943e177a436d9ddbfc7a1310c40b50199677"
version "2024.4.2,2024-11-26-11-40"
sha256 "40019ac51bf8caf4c7384d26bf6bbb913d1b581e893266a39785a8f9ac4dab0a"

url "https://downloads.busymac.com/bcl-#{version.csv.first}-#{version.csv.second}.zip"
name "BusyCal"
Expand Down
4 changes: 2 additions & 2 deletions Casks/c/camo-studio.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "camo-studio" do
version "2.1.7,13148"
sha256 "d27429fd4eebee65a3447477f957a733c8a92e8835c7164cb01d502c260132dc"
version "2.1.8,13590"
sha256 "6b84203dcc14ba6db094a45f07fcf53d9f256f4d5721cb42a0a67b07a40100d1"

url "https://releases.reincubate.com/camo/camo-macos-#{version.csv.first}.#{version.csv.second}.zip"
name "Camo Studio"
Expand Down
4 changes: 2 additions & 2 deletions Casks/c/canva.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "canva" do
version "1.97.0"
sha256 "fadeba0073d8ea08029016b8dc761bfdf286a8078cc092749fb580d61f5fbc94"
version "1.99.0"
sha256 "6349186390a2d07870e56ab6055dc5e6e4260a7becca9c66d9100ee6134df775"

url "https://desktop-release.canva.com/Canva-#{version}-universal.dmg"
name "Canva"
Expand Down
4 changes: 2 additions & 2 deletions Casks/c/chatgpt.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "chatgpt" do
version "1.2024.317,1731962521"
sha256 "2bc0e496cb514193b51917e3cdf51a32a3cf0a75e16f99716cc65e98a3ac68db"
version "1.2024.325,1732572608"
sha256 "abc0d492d8793e0af99b066bd348fef91aaa423d62656c4f96e4813236c34a00"

url "https://persistent.oaistatic.com/sidekick/public/ChatGPT_Desktop_public_#{version.csv.first}_#{version.csv.second}.dmg",
verified: "persistent.oaistatic.com/sidekick/public/"
Expand Down
4 changes: 2 additions & 2 deletions Casks/c/clamxav.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "clamxav" do
version "3.7,10564"
sha256 "91b2c0eba50e0fdbe964c14a0ca293c64db580dd093d355b97207f5000cc96c3"
version "3.8,10918"
sha256 "5149d3729b2f006b6cdc96cf5be16257476a6b635fdb5ab8888effc4d0030a32"

url "https://cdn.clamxav.com/ClamXAVdownloads/ClamXAV_#{version.csv.first}_#{version.csv.second}.zip"
name "ClamXAV"
Expand Down
6 changes: 3 additions & 3 deletions Casks/c/clickhouse.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
cask "clickhouse" do
arch arm: "-aarch64"

version "24.10.3.21-stable"
sha256 arm: "c234989fd81e669f5588d8d688dc8d42b2675def054fcc2d2607a7ddf3be8c3c",
intel: "33f594f0d253203cd46f01f4d2b4e960815f13ceaf77dff35aad3adf14a237bf"
version "24.11.1.2557-stable"
sha256 arm: "d820d0afd47e1f6f2090981b473a9315d8f39a1711693ff2d2288ffcb8e65778",
intel: "56cdb1c0ed5556345349d279205ecb14d736474cde4ea5f5cdcc9de557abb619"

url "https:github.comClickHouseClickHousereleasesdownloadv#{version}clickhouse-macos#{arch}",
verified: "github.comClickHouseClickHouse"
Expand Down
6 changes: 3 additions & 3 deletions Casks/c/codux.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
cask "codux" do
arch arm: "arm64", intel: "x64"

version "15.37.3"
sha256 arm: "49d1e1b53cdbf535d97874897722bbccdde1065712c4a593a73fbd7f0455c2bd",
intel: "6530932ac866f0ff2adae0545686238004e153e1c5b60facf8bbc46b5d4c141c"
version "15.38.0"
sha256 arm: "9fb0f9c41d795f182ebd93a457b44df2a181056fe31692fb99056b0c3907a2e8",
intel: "855fa54fd9eb85e2062969a66e0187b3a4880c9f989cefc5539cb1cfe9280aa6"

url "https:github.comwixplosivescodux-versionsreleasesdownload#{version}Codux-#{version}.#{arch}.dmg",
verified: "github.comwixplosivescodux-versions"
Expand Down
2 changes: 1 addition & 1 deletion Casks/c/commander-one.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cask "commander-one" do
version "3.10"
version "3.11"
sha256 :no_check

url "https://cdn.electronic.us/products/commander/mac/download/commander.dmg",
Expand Down
4 changes: 2 additions & 2 deletions Casks/c/compositor.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "compositor" do
version "1.26.0"
sha256 "f2d7a56f8189a4605ba2f6095f735ce20cdba9ec8e04306d1f5edb25bc892e92"
version "1.27.0"
sha256 "69435ef3b2fa4c90ec6ba5ec0f241f535112412598d8adac4a6c972a5e05f3a9"

url "https://compositorapp.com/updates/Compositor_#{version}.zip"
name "Compositor"
Expand Down
6 changes: 3 additions & 3 deletions Casks/c/cursor.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
cask "cursor" do
arch arm: "arm64", intel: "x64"

version "0.43.3,2411246yqzx1jmm"
sha256 arm: "88856365fa4afa47d09bb4ef6315e13d05e1b1be0c89e4dfab164061738f99f0",
intel: "0913b10e68d99cdc37f08182205b033eefecafa4cd66de90ced5cd8e15c8d666"
version "0.43.4,241126w13goyvrs"
sha256 arm: "0b8b14fd308369fa966ad402ab9466ac37006ec365c37007235a671debdb6d95",
intel: "4417b08d05e201efb0a23171558fe0a80942be31d3cbddfa1ef54dfcb2a025f0"

url "https://download.todesktop.com/230313mzl4w4u92/Cursor%20#{version.csv.first}%20-%20Build%20#{version.csv.second}-#{arch}-mac.zip",
verified: "download.todesktop.com/230313mzl4w4u92/"
Expand Down
6 changes: 3 additions & 3 deletions Casks/d/devpod.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
cask "devpod" do
arch arm: "aarch64", intel: "x64"

version "0.6.1"
sha256 arm: "83b8389733182cbe46380b3c3c8a465e467bfe299e6f37c410035a8650b83122",
intel: "8e7b31b80cebbb7fa3dd5b5c0215160ccb343302583a7d1fc5d4bf3b6a0e57ae"
version "0.6.2"
sha256 arm: "dbcf3e5661a1e71679643fc85066f0cf50a8ddc255a666f03da5184ab73b508f",
intel: "87326e8f7bf91eed6e8ebcd8fb2ef87bfec8fc7b5ac17d58658bfaa256c0002a"

url "https:github.comloft-shdevpodreleasesdownloadv#{version}DevPod_macos_#{arch}.dmg",
verified: "github.comloft-shdevpod"
Expand Down
4 changes: 2 additions & 2 deletions Casks/d/[email protected]
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "discord@canary" do
version "0.0.639"
sha256 "0bed82afc0f666a7dd469d26f7dea9f07bce8e43f337cdb2c206f1d8a301a801"
version "0.0.640"
sha256 "d93204fb69a63e66b56afc1a262c444cd68c6f912c883f980d2956f043a2848c"

url "https://dl-canary.discordapp.net/apps/osx/#{version}/DiscordCanary.dmg",
verified: "dl-canary.discordapp.net/"
Expand Down
4 changes: 2 additions & 2 deletions Casks/d/dockside.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "dockside" do
version "1.9.1"
sha256 "ee642f972ed73bec203c3ae022761494064a376f318d0a61d27888ec8ac103a4"
version "1.9.2"
sha256 "d8fd9084645371354ff3d6fb9f610bdb530d3d655de6d24a057733a192c86185"

url "https:github.comPrajwalSDDocksidereleasesdownloadv#{version}Dockside.dmg",
verified: "github.comPrajwalSDDockside"
Expand Down
4 changes: 2 additions & 2 deletions Casks/d/douyin.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "douyin" do
version "4.9.0,7044145585217083655,12217561"
sha256 "aec8379c4cbbc1d69288f8e1cc4d0b5c4cb1ae529cf08a3db5373a5e732d11da"
version "5.0.3,7044145585217083655,12239683"
sha256 "5254cd985bdb2ca4acc57ca66ac38e08dd726de69b52d8cd09228bbcf4ad74ef"

url "https://www.douyin.com/download/pc/obj/douyin-pc-web//douyin-pc-client/#{version.csv.second}/releases/#{version.csv.third}/#{version.csv.first}/darwin-universal/douyin-v#{version.csv.first}-darwin-universal.dmg"
name "Douyin"
Expand Down
4 changes: 2 additions & 2 deletions Casks/d/duet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
end
end
on_big_sur :or_newer do
version "3.20.1.0"
sha256 "1c595cb9e61d06c77450bf6954dad107f4550b22790583637ef4a40590eddbce"
version "3.20.2.0"
sha256 "caee77ce3ef16e9a2167e0d8d7f500315beefbfdaf7b37ef3fe27b1012b979dd"

url "https://duetdownload.com/Mac/#{version.major}_x/duet-dd-#{version.dots_to_hyphens}.dmg",
verified: "duetdownload.com/Mac/"
Expand Down
2 changes: 1 addition & 1 deletion Casks/e/ea.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cask "ea" do
version "13.345.0.5858"
version "13.350.0.5863"
sha256 :no_check

url "https://origin-a.akamaihd.net/EA-Desktop-Client-Download/installer-releases/EA%20app.dmg",
Expand Down
4 changes: 2 additions & 2 deletions Casks/e/[email protected]
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cask "emacs@nightly" do
arch arm: "arm64-11", intel: "x86_64-10_12"

version "2024-11-25_00-09-08,cf3ea44eb56364190ea9f2b905f74902c49de416"
sha256 "18aa09ce07434dd95bdff6b18e0e61351af1355f108f14c7c480059fb1b2d754"
version "2024-11-26_00-09-08,83968cbeee06cc0fff932d5052e431b478276841"
sha256 "60c8e668e499e72644526e0aaabd41fc0b6a1f0858233e228c169a0144a4ade5"

url "https://emacsformacosx.com/emacs-builds/Emacs-#{version.csv.first}-#{version.csv.second}-universal.dmg"
name "Emacs"
Expand Down
4 changes: 2 additions & 2 deletions Casks/e/emclient.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "emclient" do
version "10.1.4588"
sha256 "f0a333143d1c16214f51832018fe2251be89f768e8dd2259558e904127bb1576"
version "10.1.4813"
sha256 "5baa886973dfe9c1a585f4902238ab780998acb298147f44f0ebde4f3108babb"

url "https://cdn-dist.emclient.com/dist/v#{version}_Mac/setup.pkg"
name "eM Client"
Expand Down
4 changes: 2 additions & 2 deletions Casks/e/engine-dj.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "engine-dj" do
version "4.1.0,c6c610cd57fb0f2c,a9393b4f35"
sha256 "4e957f53b02025ec3a669354ee1ef394758673600993d9aaa1d42239d684fdb2"
version "4.2.0,4bb95a6097f50ea7,7c209f5bc9"
sha256 "6cd0d65fe38f708257eac25c8ab6589a95643c971626bbe0df87a1c868e32c2e"

url "https://imb-cicd-public.s3.amazonaws.com/Engine/#{version.csv.first}/Release/#{version.csv.second}/Engine_DJ_#{version.csv.first}_#{version.csv.third}_Setup.dmg",
verified: "imb-cicd-public.s3.amazonaws.com/Engine/"
Expand Down
4 changes: 2 additions & 2 deletions Casks/e/enpass.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "enpass" do
version "6.11.5.1819"
sha256 "8e93f7578d2b1f8b8188d0faad653715ac1181e85940e8d441c73a73633002fe"
version "6.11.6.1833"
sha256 "9fdc048b7d1391bf25558dc2eb69fec5dab324ac8c8bc67b03c59984e6bbcb15"

url "https://dl.enpass.io/stable/mac/package/#{version}/Enpass.pkg"
name "Enpass"
Expand Down
4 changes: 2 additions & 2 deletions Casks/f/fathom.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cask "fathom" do
version "1.35.0"
sha256 "5d6d923c32c89fb5de65e2d89eeae7542c90e9b8ae3e40489550092851b44f7e"
version "1.36.0"
sha256 "a41140c4f92ed15bd33deb40136aff0b773c66f4fd660c72f83891c9c5934771"

url "https://storage.googleapis.com/electron_releases/v#{version}/Fathom-darwin-arm64-#{version}.dmg",
verified: "storage.googleapis.com/electron_releases/"
Expand Down
7 changes: 7 additions & 0 deletions Casks/f/feed-the-beast.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
cask "feed-the-beast" do
arch arm: "arm64", intel: "x64"
livecheck_arch = on_arch_conditional arm: "arm", intel: "x64"

version "1.26.3"
sha256 arm: "810bcd8b868791667db69da9aefd5bf6d49d4e722439df4a0c4cf72eb2ad8cbe",
Expand All @@ -13,6 +14,12 @@
livecheck do
url "https://meta.feed-the-beast.com/v1/app/versions"
regex(/ftb[._-]app[._-]v?(\d+(?:\.\d+)+)[._-]#{arch}\.dmg/i)
strategy :json do |json, regex|
match = json.dig("macos", livecheck_arch, "dmg", "url")&.match(regex)
next if match.blank?

match[1]
end
end

auto_updates true
Expand Down
9 changes: 6 additions & 3 deletions Casks/f/feishu.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
cask "feishu" do
arch arm: "arm64", intel: "x64"
livecheck_arch = on_arch_conditional arm: "_m1"

on_arm do
version "7.31.8,b63010d1"
Expand All @@ -19,9 +20,11 @@
livecheck do
url "https://www.feishu.cn/api/downloads"
regex(%r{/(\h+)/Feishu[._-]darwin[._-]#{arch}[._-]v?(\d+(?:\.\d+)+)[._-]signed\.dmg}i)
strategy :page_match do |page, regex|
page.scan(regex)
.map { |match| "#{match[1]},#{match[0]}" }
strategy :json do |json, regex|
match = json.dig("versions", "MacOS#{livecheck_arch}", "download_link")&.match(regex)
next if match.blank?

"#{match[2]},#{match[1]}"
end
end

Expand Down
Loading

0 comments on commit 09108db

Please sign in to comment.