homebrew-cask/Casks/x/xnviewmp.rb

22 lines
492 B
Ruby

cask "xnviewmp" do
version "1.7.2"
sha256 :no_check
url "https://download.xnview.com/XnViewMP-mac.dmg"
name "XnViewMP"
desc "Photo viewer, image manager, image resiser and more"
homepage "https://www.xnview.com/en/xnviewmp/"
livecheck do
url :homepage
regex(/>XnView\sMP\sv?(\d+(?:\.\d+)+)[\s<]/i)
end
auto_updates true
depends_on macos: ">= :high_sierra"
app "XnViewMP.app"
zap trash: "~/Library/Saved Application State/com.xnview.XnView.savedState"
end