Skip to content

Instantly share code, notes, and snippets.

@dnicolson
Last active July 3, 2019 20:17
Show Gist options
  • Save dnicolson/5527a6224fb61e040bf4c91737c508a2 to your computer and use it in GitHub Desktop.
Save dnicolson/5527a6224fb61e040bf4c91737c508a2 to your computer and use it in GitHub Desktop.
This cask installs PixelSnap from a disk image in the current directory
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