1 cask "suspicious-package" do
4 sha256 "e4673a0c590e7dcb711789d98fcadd2283c2152d262b7809dfd8c8a1b3e9094b"
6 url "https://www.mothersruin.com/software/downloads/SuspiciousPackage-#{version}.dmg"
14 sha256 "fad69db99a60058f8136954653fa2de81667f12cb731957a6d921d36ceaf195d"
16 url "https://www.mothersruin.com/software/downloads/SuspiciousPackage-#{version}.dmg"
24 sha256 "844708fb75f8aa102f3ede8ddef3c20180f469b7bc8ec65bbc0370ce9f7db33c"
26 url "https://www.mothersruin.com/software/downloads/SuspiciousPackage-#{version}.dmg"
34 sha256 "5c05df9bf3d56758a3eefa972597e3138afdea4c3774f91fe2849482b7112823"
36 url "https://www.mothersruin.com/software/downloads/SuspiciousPackage-#{version}.dmg"
44 sha256 "a262c317ad2d6949e0d0f2bec9524a4a85e0e69d6aec0373cf185892acac1f69"
46 url "https://www.mothersruin.com/software/downloads/SuspiciousPackage-#{version}.dmg"
52 on_monterey :or_newer do
56 url "https://www.mothersruin.com/software/downloads/SuspiciousPackage.dmg"
59 url "https://www.mothersruin.com/software/SuspiciousPackage/data/SuspiciousPackageVersionInfo.plist"
60 strategy :xml do |xml|
61 short_version = xml.elements["//key[text()='CFBundleShortVersionString']"]&.next_element&.text
62 version = xml.elements["//key[text()='CFBundleVersion']"]&.next_element&.text
63 next if short_version.blank? || version.blank?
65 "#{short_version.strip},#{version.strip}"
70 name "Suspicious Package"
71 desc "Application for inspecting installer packages"
72 homepage "https://www.mothersruin.com/software/SuspiciousPackage/"
74 app "Suspicious Package.app"
75 binary "#{appdir}/Suspicious Package.app/Contents/SharedSupport/spkg"
78 "~/Library/Application Scripts/com.mothersruin.SuspiciousPackageApp.QLPreview",
79 "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.mothersruin.suspiciouspackageapp.sfl*",
80 "~/Library/Caches/com.mothersruin.SuspiciousPackageApp",
81 "~/Library/Caches/com.mothersruin.XPCService.UpdateChecker",
82 "~/Library/Containers/com.mothersruin.SuspiciousPackageApp.QLPreview",
83 "~/Library/Preferences/com.mothersruin.SuspiciousPackage.plist",
84 "~/Library/Preferences/com.mothersruin.SuspiciousPackageApp.plist",
85 "~/Library/Saved Application State/com.mothersruin.SuspiciousPackageApp.savedState",
86 "~/Library/WebKit/com.mothersruin.SuspiciousPackageApp",