phinze/homebrew-cask

View on GitHub
Casks/p/pile.rb

Summary

Maintainability
A
1 hr
Test Coverage
cask "pile" do
  arch arm: "-arm64"

  version "0.9.9"
  sha256 arm:   "2de912e6c8fb688c00ed4539a20bdf6f3f227a754487c6234fe5ec3b5822efcf",
         intel: "44e4415c80278a9a26b8ab38541d34147419d53808f37d32827f1e0a821ed320"

  url "https://github.com/UdaraJay/Pile/releases/download/v#{version}/Pile-#{version}#{arch}.dmg",
      verified: "github.com/UdaraJay/Pile/"
  name "Pile"
  desc "Digital journaling app"
  homepage "https://udara.io/pile/"

  auto_updates true
  depends_on macos: ">= :high_sierra"

  app "Pile.app"

  zap trash: [
    "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/pile.un.ms.sfl*",
    "~/Library/Application Support/pile",
    "~/Library/Preferences/pile.un.ms.plist",
    "~/Library/Saved Application State/pile.un.ms.savedState",
    "~/Piles",
  ]
end