homebrew-cask/Casks/android-file-transfer.rb

19 lines
720 B
Ruby

cask "android-file-transfer" do
version :latest
sha256 :no_check
# google.com/dl/androidjumper/ was verified as official when first introduced to the cask
url "https://dl.google.com/dl/androidjumper/mtp/current/androidfiletransfer.dmg"
name "Android File Transfer"
homepage "https://www.android.com/filetransfer/"
app "Android File Transfer.app"
zap trash: [
"~/Library/Application Support/Google/Android File Transfer",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.google.android.mtpviewer.sfl*",
"~/Library/Preferences/com.google.android.mtpviewer.plist",
],
rmdir: "~/Library/Application Support/Google/"
end