From 02b5151ac3971444616420ed62b93792499377ab Mon Sep 17 00:00:00 2001 From: Danyal Aytekin Date: Fri, 29 Mar 2024 04:35:30 +0000 Subject: [PATCH 1/3] treesheets `8473991279`, with source switched to github --- Casks/t/treesheets.rb | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/Casks/t/treesheets.rb b/Casks/t/treesheets.rb index 22757bb56437..1d747fa158fb 100644 --- a/Casks/t/treesheets.rb +++ b/Casks/t/treesheets.rb @@ -1,16 +1,25 @@ cask "treesheets" do - version "2022.08.02,20220802020630" - sha256 :no_check + version "8473991279" + sha256 "34c56edb4d2eff97662fa3f4bb097f9e740e0360cacf15269cfd14726893f18f" - url "https://strlen.com/treesheets/treesheets_osx.zip" + url "https://github.com/aardappel/treesheets/releases/download/#{version}/mac_treesheets.zip", + verified: "github.com/aardappel/treesheets/" name "TreeSheets" desc "Hierarchical spreadsheet and outline application" homepage "https://strlen.com/treesheets/" livecheck do url :url - strategy :extract_plist + strategy :github_latest end - app "TreeSheets.app" + app "build/Build/Products/Release/TreeSheets.app" + + uninstall quit: "dot3labs.TreeSheets" + + zap trash: [ + "~/Library/Preferences/dot3labs.TreeSheets.plist", + "~/Library/Preferences/TreeSheets Preferences", + "~/Library/Saved Application State/dot3labs.TreeSheets.savedState", + ] end From 3fbe82ce67b7841d46d2c4caf3466ed2e878970c Mon Sep 17 00:00:00 2001 From: Danyal Aytekin Date: Fri, 29 Mar 2024 05:05:47 +0000 Subject: [PATCH 2/3] use simple integer expression for `livecheck` --- Casks/t/treesheets.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Casks/t/treesheets.rb b/Casks/t/treesheets.rb index 1d747fa158fb..56478a14ac45 100644 --- a/Casks/t/treesheets.rb +++ b/Casks/t/treesheets.rb @@ -10,6 +10,7 @@ livecheck do url :url + regex(/^(\d+)$/) strategy :github_latest end From 2e9636640aca67b246c652dc1319c86614c9fce1 Mon Sep 17 00:00:00 2001 From: Razvan Azamfirei Date: Mon, 1 Apr 2024 18:48:50 -0500 Subject: [PATCH 3/3] treesheets 8504377142 --- Casks/t/treesheets.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Casks/t/treesheets.rb b/Casks/t/treesheets.rb index 56478a14ac45..b56916eba595 100644 --- a/Casks/t/treesheets.rb +++ b/Casks/t/treesheets.rb @@ -1,6 +1,6 @@ cask "treesheets" do - version "8473991279" - sha256 "34c56edb4d2eff97662fa3f4bb097f9e740e0360cacf15269cfd14726893f18f" + version "8504377142" + sha256 "163fa4b9e36605b838b7b611062433b7ed6f16ae609e258e2ca94244b62606cb" url "https://github.com/aardappel/treesheets/releases/download/#{version}/mac_treesheets.zip", verified: "github.com/aardappel/treesheets/"