thought-train: add livecheck (#102539)

This commit is contained in:
Markus Reiter
2021-03-25 00:45:05 +05:30
committed by GitHub
parent 62c9601c95
commit ba5ba05c66
+8 -4
View File
@@ -1,14 +1,18 @@
cask "thought-train" do
version "1.4"
version "1.4.0"
sha256 "f135917e56bdc150923beb28d0005f1d00167f6b90ee67abb0e5d549ce39d0b4"
url "https://thoughttrain.cc/downloads/thought-train-#{version}.pkg"
appcast "https://github.com/marcperel/thought-train-production/releases.atom"
url "https://thoughttrain.cc/downloads/thought-train-#{version.major_minor}.pkg"
name "Thought Train"
desc "Note taking and to-do-list application"
homepage "https://www.thoughttrain.cc/"
pkg "thought-train-#{version}.pkg"
livecheck do
url "https://github.com/marcperel/thought-train-production"
strategy :git
end
pkg "thought-train-#{version.major_minor}.pkg"
uninstall pkgutil: "thought-train"
end