mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
Add Command-X 1.0.6,1684086547 (new cask)
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
cask "command-x" do
|
||||
version "1.0.6,1684086547"
|
||||
sha256 "48601491924bf431c6cf9a9bb5e619e5e60b6212521b9385e55fdb1db729217c"
|
||||
|
||||
url "https://dsc.cloud/sindresorhus/Command-X-#{version.csv.first}-#{version.csv.second}.zip",
|
||||
verified: "dsc.cloud/sindresorhus/"
|
||||
name "Command X"
|
||||
desc "Cut and paste files in Finder"
|
||||
homepage "https://sindresorhus.com/command-x"
|
||||
|
||||
livecheck do
|
||||
url :homepage
|
||||
|
||||
strategy :page_match do |page, _regex|
|
||||
page.match(%r{ href="https://[^"]+?/Command-X-([\d.]+)-([^"]+)\.zip"})&.captures&.join(",")
|
||||
end
|
||||
end
|
||||
|
||||
depends_on macos: ">= :ventura"
|
||||
|
||||
app "Command X.app"
|
||||
|
||||
zap trash: [
|
||||
"~/Library/Application Scripts/com.sindresorhus.Command-X",
|
||||
"~/Library/Containers/com.sindresorhus.Command-X",
|
||||
]
|
||||
end
|
||||
Reference in New Issue
Block a user