diff --git a/Casks/r/retrobatch.rb b/Casks/r/retrobatch.rb index 77796e5b39..9e8d5bc0ec 100644 --- a/Casks/r/retrobatch.rb +++ b/Casks/r/retrobatch.rb @@ -16,4 +16,12 @@ cask "retrobatch" do depends_on macos: ">= :sierra" app "Retrobatch.app" + + zap trash: [ + "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", + ] end