Last active
July 3, 2019 20:17
-
-
Save dnicolson/5527a6224fb61e040bf4c91737c508a2 to your computer and use it in GitHub Desktop.
This cask installs PixelSnap from a disk image in the current directory
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
require 'uri' | |
cask 'pixelsnap' do | |
version '1.4.1' | |
sha256 '13831053af6c1774107619b9419253a3127e2b4eb02e52f8099108e260dcf1d7' | |
url "file://#{URI.encode(File.expand_path(File.dirname(ARGV[1] || '')))}/PixelSnap-1.4.1.dmg" | |
name 'PixelSnap' | |
homepage 'https://getpixelsnap.com/' | |
app 'PixelSnap.app' | |
uninstall login_item: 'PixelSnap' | |
zap trash: [ | |
'~/Library/Caches/com.getpixelsnap', | |
'~/Library/Preferences/com.getpixelsnap.app.plist', | |
] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment