phinze/homebrew-cask

View on GitHub
Casks/p/popchar.rb

Summary

Maintainability
A
0 mins
Test Coverage
cask "popchar" do
  version "10.2"
  sha256 "fdacb546b07e558b4e1b7dd69d728a608b12f50ccc8dc1713b5606837fc9ac95"

  url "https://www.ergonis.com/downloads/products/popcharx/PopCharX#{version.no_dots}-Install.dmg",
      user_agent: :fake
  name "PopChar X"
  desc "Utility to display all characters of a font"
  homepage "https://www.ergonis.com/products/popcharx/"

  livecheck do
    url "https://update.ergonis.com/vck/popcharx.xml"
    regex(/<Program_Version>(\d+(?:\.\d+)+)</i)
  end

  depends_on macos: ">= :high_sierra"

  app "PopChar.app"

  zap trash: [
    "~/Library/Application Support/PopChar",
    "~/Library/Caches/com.macility.popchar3",
    "~/Library/Preferences/com.macility.popchar3.plist",
  ]
end