Skip to content

Instantly share code, notes, and snippets.

@xuncheng
Created June 19, 2017 14:31
Show Gist options
  • Select an option

  • Save xuncheng/d4c73126f69b65bc06a91d2f5a05d6b9 to your computer and use it in GitHub Desktop.

Select an option

Save xuncheng/d4c73126f69b65bc06a91d2f5a05d6b9 to your computer and use it in GitHub Desktop.

Revisions

  1. xuncheng created this gist Jun 19, 2017.
    19 changes: 19 additions & 0 deletions dash2.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    cask 'dash2' do
    version '2.2.6'
    sha256 'a7de5e00528611f86d1024164b1b5d536ce039344b6ca3c211918c7458f7e412'

    url "https://kapeli.com/downloads/v#{version.major}/Dash.zip"
    name 'Dash'
    homepage 'https://kapeli.com/dash'

    auto_updates true

    app 'Dash.app'

    zap delete: [
    '~/Library/Application Support/Dash',
    '~/Library/Application Support/com.kapeli.dashdoc',
    '~/Library/Preferences/com.kapeli.dash.plist',
    '~/Library/Preferences/com.kapeli.dashdoc.plist',
    ]
    end