cask 'filezilla' do if MacOS.version <= :snow_leopard version '3.8.1' sha256 '86c725246e2190b04193ce8e7e5ea89d5b9318e9f20f5b6f9cdd45b6f5c2d283' else version '3.23.0.2' sha256 '18f9d4fe2441e6592559c11e62d442cea361ca9147be159b0cd73eb0573da61e' end # sourceforge.net/filezilla was verified as official when first introduced to the cask url "https://downloads.sourceforge.net/filezilla/FileZilla_Client/#{version}/FileZilla_#{version}_macosx-x86.app.tar.bz2" appcast 'https://sourceforge.net/projects/filezilla/rss?path=/FileZilla_Client', checkpoint: '55571dc40e4fb3b21b8f3f0ecba1f225208cc7774b7c42b256782bdb5a08b869' name 'FileZilla' homepage 'https://filezilla-project.org/' app 'FileZilla.app' zap delete: [ '~/.config/filezilla', '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/de.filezilla.sfl', '~/Library/Saved Application State/de.filezilla.savedState', '~/Library/Preferences/de.filezilla.plist', ] end