From ba5ba05c66beb9df2a06b55c2e028a36908130e9 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Wed, 24 Mar 2021 20:15:05 +0100 Subject: [PATCH] thought-train: add livecheck (#102539) --- Casks/thought-train.rb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Casks/thought-train.rb b/Casks/thought-train.rb index 7fd0a6a9b5..5d1f156e9f 100644 --- a/Casks/thought-train.rb +++ b/Casks/thought-train.rb @@ -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