cask 'charles-applejava' do version '3.11.4' sha256 '182b1fa81a109a670246ed462fe853d20e36d70ae6ff5db31f35d7cd13ea5622' url "https://www.charlesproxy.com/assets/release/#{version.gsub(%r{b\d$}, '')}/charles-proxy-#{version}-applejava.dmg" name 'Charles' homepage 'https://www.charlesproxy.com/download/' license :commercial app 'Charles.app' zap delete: [ '~/Library/Application Support/Charles', '~/Library/Preferences/com.xk72.charles.config', ] end