From 8b889bac7801b27a870e9f0ac9a1528101142d67 Mon Sep 17 00:00:00 2001 From: Todd Schulman Date: Sat, 6 Jan 2024 23:16:20 -0500 Subject: [PATCH 1/2] coteditor: update uninstall and livecheck --- Casks/c/coteditor.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Casks/c/coteditor.rb b/Casks/c/coteditor.rb index 989708efa6..31cc6d1b0f 100644 --- a/Casks/c/coteditor.rb +++ b/Casks/c/coteditor.rb @@ -77,9 +77,14 @@ cask "coteditor" do app "CotEditor.app" binary "#{appdir}/CotEditor.app/Contents/SharedSupport/bin/cot" + uninstall quit: [ + "com.coteditor.CotEditor", + ] + zap trash: [ "~/Library/Application Scripts/com.coteditor.CotEditor", "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.coteditor.coteditor.sfl*", + "~/Library/Caches/com.apple.helpd/Generated/com.coteditor.CotEditor.help*", "~/Library/Caches/com.apple.helpd/SDMHelpData/Other/English/HelpSDMIndexFile/com.coteditor.CotEditor.help*", "~/Library/Caches/com.apple.helpd/SDMHelpData/Other/Japanese/HelpSDMIndexFile/com.coteditor.CotEditor.help*", "~/Library/Containers/com.coteditor.CotEditor", From 6cc88558868952fcf3920a89fd1f855d11470f12 Mon Sep 17 00:00:00 2001 From: Todd Schulman Date: Sun, 7 Jan 2024 14:53:41 -0500 Subject: [PATCH 2/2] Address review feedback --- Casks/c/coteditor.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Casks/c/coteditor.rb b/Casks/c/coteditor.rb index 31cc6d1b0f..bbe3d11e11 100644 --- a/Casks/c/coteditor.rb +++ b/Casks/c/coteditor.rb @@ -77,9 +77,7 @@ cask "coteditor" do app "CotEditor.app" binary "#{appdir}/CotEditor.app/Contents/SharedSupport/bin/cot" - uninstall quit: [ - "com.coteditor.CotEditor", - ] + uninstall quit: "com.coteditor.CotEditor" zap trash: [ "~/Library/Application Scripts/com.coteditor.CotEditor",