File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ cask "papercut-mobility-print-client" do
2+ version "1.0.422"
3+ sha256 "7967fec555afe1bb4c4c5003908da56537539a40c837ed54316740a86885404d"
4+
5+ url "https://cdn.papercut.com/web/products/mobility-print/installers/client/macos-cloud/mobility-print-client-installer-#{ version } .dmg"
6+ name "PaperCut Mobility Print Client"
7+ desc "Client for printing to PaperCut Mobility Print queues"
8+ homepage "https://www.papercut.com/products/free-software/mobility-print/"
9+
10+ livecheck do
11+ url "https://www.papercut.com/help/manuals/mobility-print/release-history/"
12+ regex ( /id=["']mobility-print-macos-client-cloud-print["'].*?Current\s +version.*?v?(\d +(?:\. \d +)+)/im )
13+ strategy :page_match do |page , regex |
14+ page . scan ( regex ) . map { |match | match [ 0 ] }
15+ end
16+ end
17+
18+ depends_on macos : ">= :monterey"
19+
20+ pkg "PaperCut Mobility Print Client.pkg"
21+
22+ uninstall script : {
23+ executable : "/Applications/PaperCut Mobility Print Client/Uninstall.command" ,
24+ args : [ "-y" ] ,
25+ sudo : true ,
26+ }
27+
28+ zap trash : "~/Library/Application Support/PaperCutMobilityPrintClient"
29+
30+ caveats do
31+ requires_rosetta
32+ end
33+ end
You can’t perform that action at this time.
0 commit comments