Files
homebrew-cask/Casks/d/deepnest.rb
Mike McQuaid aa461148bb Move all remaining casks to sharded subdirectories.
The migration of `orka.rb` and then `o*.rb` has worked well without
complaint so: let's move everything else, too.
2023-08-09 12:08:38 +01:00

26 lines
779 B
Ruby

cask "deepnest" do
version "1.0.5"
sha256 "602c97f2becfddd808bfea8cab1cd7c20503494fa17df2ee55b3cec65a45c7eb"
url "https://deepnest.io/Deepnest-#{version}-mac.zip"
name "Deepnest"
desc "Nesting application for CNC machines"
homepage "https://deepnest.io/"
livecheck do
url :homepage
regex(/href=.*?Deepnest-(\d+(?:\.\d+)+)-mac\.zip/i)
end
app "Deepnest-#{version}-mac/Deepnest-mac-#{version}.app", target: "Deepnest.app"
zap trash: [
"~/Library/Application Support/Deepnest.io",
"~/Library/Caches/com.deepnest.io",
"~/Library/Preferences/com.deepnest.io.helper.plist",
"~/Library/Preferences/com.deepnest.io.plist",
"~/Library/Saved Application State/com.deepnest.io.savedState",
"~/Library/WebKit/com.deepnest.io",
]
end