Last active
July 3, 2019 20:17
-
-
Save dnicolson/897a732c88eb458cf6eac0c44f23c965 to your computer and use it in GitHub Desktop.
If the PHONEVIEW_REGISTRATION_LINK environment variable is defined, this can be part of provisioning a new machine by using "brew cask install phoneview.rb"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cask 'phoneview' do | |
version :latest | |
sha256 :no_check | |
url do | |
customer_center = ENV['PHONEVIEW_REGISTRATION_LINK'] | |
markup = `curl -L '#{customer_center}' 2>&1` | |
markup.scan(%r{href="([^"]+.dmg)"}).flatten.first | |
end | |
name 'PhoneView' | |
homepage 'https://www.ecamm.com/mac/phoneview/' | |
app 'PhoneView.app' | |
zap trash: [ | |
'~/Library/Application Support/PhoneView', | |
'~/Library/Caches/com.ecamm.PhoneView', | |
'~/Library/Preferences/com.ecamm.PhoneView.plist', | |
] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment