diff --git a/Casks/d/ddpm.rb b/Casks/d/ddpm.rb index 3f4e2fd41e..e7eb688214 100644 --- a/Casks/d/ddpm.rb +++ b/Casks/d/ddpm.rb @@ -1,24 +1,24 @@ cask "ddpm" do - version "1.1.1.0038" - sha256 "922371db71c878c1568ed92a6edeb100cc25efd37ebb5e046d8d9ed8bfdb3ed4" + version "1.2.0.0052" + sha256 "53faf376738a35a8f1af6f4ba48ea18986d885f032ca89911172f6e6e1b4c58b" - url "https://dl.dell.com/FOLDER10485258M/1/DDPMv#{version}.zip" + url "https://dl.dell.com/FOLDER10656664M/1/DDPMv#{version}.zip" name "DDPM" name "Dell Display and Peripheral Manager" desc "Monitors and peripherals manager" homepage "https://dell.com/" livecheck do - url "https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=63t8x" + url "https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=3v8tw" regex(/ddpmv(\d+(?:\.\d+)+)\.zip/i) end pkg "DDPMv#{version}/DDPM_Installer.pkg" - binary "#{appdir}/DDPM/DDPM.app/Contents/MacOS/DDPM" + binary "/Applications/DDPM/DDPM.app/Contents/MacOS/DDPM" uninstall pkgutil: "Qisda.pkg.DDPM", - delete: "#{appdir}/DDPM/SW_VER.json", - rmdir: "#{appdir}/DDPM" + delete: "/Applications/DDPM/SW_VER.json", + rmdir: "/Applications/DDPM" zap trash: [ "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/qisda.autolaunchddpmhelper.sfl2",