Merge pull request #153180 from nathan-courtney-pieces/pieces-2.3.1
pieces: new cask
This commit is contained in:
commit
2e90984940
|
@ -0,0 +1,33 @@
|
|||
cask "pieces" do
|
||||
arch arm: "-arm64"
|
||||
livecheck_arch = on_arch_conditional arm: "_arm64"
|
||||
|
||||
version "2.3.1"
|
||||
sha256 :no_check
|
||||
|
||||
url "https://builds.pieces.app/stages/production/pieces_for_x/macos#{arch}/download"
|
||||
name "Pieces"
|
||||
desc "Code snippets, screenshots and workflow context"
|
||||
homepage "https://pieces.app/"
|
||||
|
||||
livecheck do
|
||||
url "https://builds.pieces.app/stages/production/pieces_for_x/sparkle#{livecheck_arch}"
|
||||
strategy :sparkle
|
||||
end
|
||||
|
||||
auto_updates true
|
||||
depends_on cask: "pieces-os"
|
||||
depends_on macos: ">= :big_sur"
|
||||
|
||||
app "Pieces.app"
|
||||
|
||||
uninstall quit: "com.pieces.x"
|
||||
|
||||
zap trash: [
|
||||
"~/Library/Application Support/com.pieces.x",
|
||||
"~/Library/com.pieces.pfd",
|
||||
"~/Library/HTTPStorages/com.pieces.x",
|
||||
"~/Library/Preferences/com.pieces.x.plist",
|
||||
"~/Library/Saved Application State/com.pieces.x.savedState",
|
||||
]
|
||||
end
|
Loading…
Reference in New Issue