diff --git a/Casks/d/display-pilot.rb b/Casks/d/display-pilot.rb new file mode 100644 index 000000000000..156a32d2a46b --- /dev/null +++ b/Casks/d/display-pilot.rb @@ -0,0 +1,20 @@ +cask "display-pilot" do + version "1.5.0.0_Mac_250102090118" + sha256 "deef444a8d9a32ac75939862e0e32ead901f04099a696a8a85dd60944f58aa85" + + url "https://esupportdownload.benq.com/esupport/VERTICAL%20&%20PROFESSIONAL%20DISPLAY/Software/Display%20Pilot%202/Display%20Pilot%202%20for%20Mac_V#{version}.zip" + name "Display Pilot 2" + desc "Streamlines display control: brightness, inputs, pivot, and more" + homepage "https://www.benq.com/en-ap/monitor/software/display-pilot-2.html" + + livecheck do + url "https://www.benq.com/en-ap/support/downloads-faq/products/monitor/display-pilot-2/software-driver.html" + regex(/Display Pilot 2 for Mac_V(\d+\.\d+\.\d+\.\d+_Mac_\d+)/i) + end + + depends_on macos: ">= :big_sur" + + app "Display Pilot 2.app" + + zap trash: "~/Library/Preferences/com.benq.DisplayPilot2.plist" +end