Created
May 22, 2019 09:44
-
-
Save dnicolson/a309017601eaa14220a0c49da1e9b396 to your computer and use it in GitHub Desktop.
This cask installs PixelSnap 2 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 "pixelsnap2" do | |
version "2.0" | |
sha256 "04e2d1892593d904f3d528c70b5fc4ec773c957b2d3bdd0e8a8876045ff458c8" | |
url "file://#{URI::encode(File.expand_path(File.dirname(ARGV[1] ? ARGV[1] : '')))}/PixelSnap-2-2.0.dmg" | |
name "PixelSnap 2" | |
homepage "https://getpixelsnap.com/" | |
app "PixelSnap 2.app" | |
uninstall :login_item => "PixelSnap 2" | |
zap :trash => ["~/Library/Application Support/PixelSnap", | |
"~/Library/Caches/pl.maketheweb.pixelsnap2", | |
"~/Library/Preferences/pl.maketheweb.pixelsnap2.plist"] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment