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