From d068284d09ffdbfa6e2771b064a738543c6b7639 Mon Sep 17 00:00:00 2001 From: zuisong Date: Wed, 17 Jan 2024 11:13:23 +0800 Subject: [PATCH] fix:zap should use absolute path --- Casks/r/retrobatch.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Casks/r/retrobatch.rb b/Casks/r/retrobatch.rb index 3f45e00748..f083f3d46d 100644 --- a/Casks/r/retrobatch.rb +++ b/Casks/r/retrobatch.rb @@ -13,16 +13,16 @@ cask "retrobatch" do end auto_updates true - depends_on macos: ">= :sierra" + depends_on macos: ">= :monterey" app "Retrobatch.app" zap trash: [ - "Library/Application Support/Retrobatch", - "Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/" \ + "~/Library/Application Support/Retrobatch", + "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/" \ "com.flyingmeat.retrobatch.sfl*", - "Library/HTTPStorages/com.flyingmeat.Retrobatch", - "Library/Saved Application State/com.flyingmeat.Retrobatch.savedState", - "Library/Preferences/com.flyingmeat.Retrobatch.plist", + "~/Library/HTTPStorages/com.flyingmeat.Retrobatch", + "~/Library/Saved Application State/com.flyingmeat.Retrobatch.savedState", + "~/Library/Preferences/com.flyingmeat.Retrobatch.plist", ] end