30 lines
928 B
Ruby
30 lines
928 B
Ruby
cask "genymotion" do
|
|
version "3.2.1"
|
|
sha256 "60dc9996e988f42a09e2870766a10072010b49a21fe9fd655a02b944db3a3f2d"
|
|
|
|
url "https://dl.genymotion.com/releases/genymotion-#{version}/genymotion-#{version}.dmg"
|
|
name "Genymotion"
|
|
desc "Android emulator"
|
|
homepage "https://www.genymotion.com/"
|
|
|
|
livecheck do
|
|
url "https://www.genymotion.com/download/"
|
|
regex(/Genymotion\s*Desktop\s*(\d+(?:\.\d+)+)/i)
|
|
end
|
|
|
|
depends_on cask: "virtualbox"
|
|
|
|
app "Genymotion.app"
|
|
app "Genymotion Shell.app"
|
|
binary "#{appdir}/Genymotion Shell.app/Contents/MacOS/genyshell"
|
|
|
|
zap trash: [
|
|
"~/.Genymobile",
|
|
"~/Library/Caches/Genymobile",
|
|
"~/Library/Preferences/com.genymobile.Genymotion.plist",
|
|
"~/Library/Preferences/com.genymobile.soft.Genymotion.plist",
|
|
"~/Library/Saved Application State/com.genymobile.genymotion.savedState",
|
|
"~/Library/Saved Application State/com.genymobile.player.savedState",
|
|
]
|
|
end
|