cask 'charles' do version '4.2.7' sha256 'f2ce639c3564ce2180d595e5d9918acf536498cd2ed6f2b3f41172344142fceb' 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