32 lines
1010 B
Ruby
32 lines
1010 B
Ruby
cask "snapmaker-luban" do
|
|
arch arm: "-arm64", intel: "-x64"
|
|
|
|
version "4.11.0"
|
|
sha256 arm: "b6ca5d9b1a62e11b9ebbe40bcc658e9d1e397557f3bbfd23656b28a6957386f2",
|
|
intel: "283aba3bef7745d980a65f0a1f68ff87694f7148d25aaeb9e7a9729d443209ae"
|
|
|
|
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
|