32 lines
1009 B
Ruby
32 lines
1009 B
Ruby
cask "snapmaker-luban" do
|
|
arch arm: "-arm64", intel: "-x64"
|
|
|
|
version "4.8.2"
|
|
sha256 arm: "24765eafbef1301c0651e651aefa121cb4e8a693bd10c8f9dd22a0a6503331ae",
|
|
intel: "883be2e284e00ef86f966fe0a499a6019cf6284efb8efc90c7b5dee1c68fc2fa"
|
|
|
|
url "https://github.com/snapmaker/luban/releases/download/v#{version}/Snapmaker-Luban-#{version}-mac#{arch}.dmg",
|
|
verified: "github.com/snapmaker/luban/"
|
|
name "Snapmaker Luban"
|
|
desc "3D printing software"
|
|
homepage "https://snapmaker.com/snapmaker-luban"
|
|
|
|
livecheck do
|
|
url :url
|
|
strategy :github_latest
|
|
end
|
|
|
|
auto_updates true
|
|
|
|
app "Snapmaker Luban.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Caches/com.snapmaker.luban",
|
|
"~/Library/Caches/com.snapmaker.luban.ShipIt",
|
|
"~/Library/Preferences/ByHost/com.snapmaker.luban.ShipIt.*.plist",
|
|
"~/Library/Preferences/com.snapmaker.luban.helper.plist",
|
|
"~/Library/Preferences/com.snapmaker.luban.plist",
|
|
"~/Library/Saved Application State/com.snapmaker.luban.savedState",
|
|
]
|
|
end
|