-
-
Notifications
You must be signed in to change notification settings - Fork 12k
Expand file tree
/
Copy pathandroid-file-transfer.rb
More file actions
30 lines (24 loc) 路 1007 Bytes
/
Copy pathandroid-file-transfer.rb
File metadata and controls
30 lines (24 loc) 路 1007 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
cask "android-file-transfer" do
version "5071136"
sha256 "b9249399a351e8146358ff1ddb546c68a63134b780be795ae64e0a4c2258bc61"
url "https://dl.google.com/dl/androidjumper/mtp/#{version}/androidfiletransfer.dmg"
name "Android File Transfer"
desc "Transfer files from and to an Android smartphone"
homepage "https://www.android.com/filetransfer/"
livecheck do
url "https://dl.google.com/dl/androidjumper/mtp/current/androidfiletransfer.dmg"
regex(%r{/(\d+)/androidfiletransfer\.dmg}i)
strategy :header_match
end
depends_on :macos
app "Android File Transfer.app"
zap trash: [
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.google.android.mtpviewer.sfl*",
"~/Library/Application Support/Google/Android File Transfer",
"~/Library/Preferences/com.google.android.mtpviewer.plist",
],
rmdir: "~/Library/Application Support/Google"
caveats do
requires_rosetta
end
end