homebrew-cask/Casks/bricklink-partdesigner.rb

27 lines
1.0 KiB
Ruby

cask "bricklink-partdesigner" do
version "1.0.6_5"
sha256 "161639b438eff18b4b71434ec9616634735200031ce9c99b673972e9032a44dc"
# dzncyaxjqx7p3.cloudfront.net/ was verified as official when first introduced to the cask
url "https://dzncyaxjqx7p3.cloudfront.net/PartDesigner/PartDesigner.pkg"
appcast "https://bricklink.com/v3/studio/partdesigner.page"
name "PartDesigner"
homepage "https://bricklink.com/v3/studio/partdesigner.page"
auto_updates true
depends_on cask: "bricklink-studio"
pkg "PartDesigner.pkg"
uninstall pkgutil: "com.bricklink.pkg.PartDesigner"
zap trash: [
"~/Library/Application Support/unity.BrickLink.Part Designer",
"~/Library/Caches/com.plausiblelabs.crashreporter.data/unity.BrickLink.Part Designer",
"~/Library/Preferences/unity.BrickLink.Part Designer.plist",
"~/Library/Preferences/unity.BrickLink.Patcher.plist",
"~/Library/Saved Application State/unity.BrickLink.Part Designer.savedState",
"~/Library/Saved Application State/unity.BrickLink.Patcher.savedState",
]
end