phinze/homebrew-cask

View on GitHub
Casks/s/simplenote.rb

Summary

Maintainability
A
0 mins
Test Coverage
cask "simplenote" do
  version "2.22.1"
  sha256 "8c5efd6191d8dab3e49ae9ba0fc488c380211f113d25b2bc6fa30daf47519d07"

  url "https://github.com/Automattic/simplenote-electron/releases/download/v#{version}/Simplenote-macOS-#{version}.dmg"
  name "Simplenote"
  desc "React client for Simplenote"
  homepage "https://github.com/Automattic/simplenote-electron"

  livecheck do
    url :url
    strategy :github_latest
  end

  app "Simplenote.app"

  zap trash: [
    "~/Library/Application Support/Simplenote",
    "~/Library/Caches/com.automattic.simplenote",
    "~/Library/Caches/com.automattic.simplenote.ShipIt",
    "~/Library/Saved Application State/com.automattic.simplenote.savedState",
  ]
end