mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
sunsama 2.0.14
This commit is contained in:
+11
-5
@@ -1,11 +1,11 @@
|
||||
cask "sunsama" do
|
||||
arch arm: "arm64", intel: "x64"
|
||||
|
||||
version "2.0.13"
|
||||
sha256 arm: "e060da371a466a63b034e06c6078091c4bf850f0ae81c7f28f4d8649afe48722",
|
||||
intel: "ebe8afd0efba95f5224faaae77d0b3769e019a7751cb14c4d6636536df966616"
|
||||
version "2.0.14,23101366qgj80nk"
|
||||
sha256 arm: "c772ad3744497466a301d1801a8db504b9e4d720d08de3263608e0d628c72e75",
|
||||
intel: "e3a6912ba193e1ff3fb60c0452204c7e8aa39ad5cf0223db2629429a7030d527"
|
||||
|
||||
url "https://download.todesktop.com/2003096gmmnl0g1/Sunsama%20#{version}-#{arch}.dmg",
|
||||
url "https://download.todesktop.com/2003096gmmnl0g1/Sunsama%20#{version.csv.first}%20-%20Build%20#{version.csv.second}-#{arch}-mac.zip",
|
||||
verified: "download.todesktop.com/2003096gmmnl0g1/"
|
||||
name "Sunsama"
|
||||
desc "Daily planner and calendar"
|
||||
@@ -13,7 +13,13 @@ cask "sunsama" do
|
||||
|
||||
livecheck do
|
||||
url "https://download.todesktop.com/2003096gmmnl0g1/latest-mac.yml"
|
||||
strategy :electron_builder
|
||||
regex(/Build[ ._-]([^-]+)[._-]/i)
|
||||
strategy :electron_builder do |item, regex|
|
||||
build = item["files"].first["url"][regex, 1]
|
||||
next if build.blank?
|
||||
|
||||
"#{item["version"]},#{build}"
|
||||
end
|
||||
end
|
||||
|
||||
auto_updates true
|
||||
|
||||
Reference in New Issue
Block a user