From a4511361174ff8b3b442b7a3a3bca40110f83d78 Mon Sep 17 00:00:00 2001 From: Justin Krehel <39449589+krehel@users.noreply.github.com> Date: Wed, 24 Jan 2024 11:38:16 -0500 Subject: [PATCH] cernbox: add `zap` and `requires_rosetta` --- Casks/c/cernbox.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Casks/c/cernbox.rb b/Casks/c/cernbox.rb index 0c639e1301..6adf93869c 100644 --- a/Casks/c/cernbox.rb +++ b/Casks/c/cernbox.rb @@ -17,4 +17,20 @@ cask "cernbox" do uninstall signal: ["TERM", "ch.cern.cernbox"], login_item: "cernbox", pkgutil: "ch.cern.cernbox" + + zap trash: [ + "~/Library/Application Scripts/ch.cern.cernbox", + "~/Library/Application Scripts/ch.cern.cernbox.FinderSyncExt", + "~/Library/Containers/ch.cern.cernbox.FinderSyncExt", + "~/Library/Group Containers/ch.cern.cernbox", + "~/Library/HTTPStorages/ch.cern.cernbox", + "~/Library/LaunchAgents/ch.cern.cernbox.plist", + "~/Library/Preferences/cernbox", + "~/Library/Preferences/ch.cern.cernbox.plist", + "~/Library/Saved Application State/ch.cern.cernbox.savedState", + ] + + caveats do + requires_rosetta + end end