cask 'charles' do version '4.5.5' sha256 'cf75e68f0683f35fba73641c987152178fef0b00638ffdc94c48acb4f9a1f37e' url "https://www.charlesproxy.com/assets/release/#{version}/charles-proxy-#{version}.dmg" appcast 'https://www.charlesproxy.com/latest.do' name 'Charles' homepage 'https://www.charlesproxy.com/' app 'Charles.app' uninstall quit: 'com.xk72.Charles' zap trash: [ '~/Library/Application Support/Charles', '~/Library/Preferences/com.xk72.Charles.plist', '~/Library/Preferences/com.xk72.charles.config', '~/Library/Saved Application State/com.xk72.Charles.savedState', ] end