create: modify cask template

This commit is contained in:
Razvan Azamfirei 2023-12-15 15:34:43 -05:00
parent dc3daf77a5
commit ae1c058f9b
No known key found for this signature in database
GPG Key ID: 62E97BFCB12046BD

View File

@ -122,6 +122,9 @@ module Homebrew
end end
cask_path.atomic_write <<~RUBY cask_path.atomic_write <<~RUBY
# Documentation: https://docs.brew.sh/Cask-Cookbook
# https://docs.brew.sh/Adding-Software-to-Homebrew#cask-stanzas
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST!
cask "#{token}" do cask "#{token}" do
version "#{version}" version "#{version}"
sha256 "#{sha256}" sha256 "#{sha256}"
@ -131,7 +134,18 @@ module Homebrew
desc "" desc ""
homepage "" homepage ""
# Documentation: https://docs.brew.sh/Brew-Livecheck
livecheck do
url ""
strategy ""
end
depends_on macos: ""
app "" app ""
# Documentation: https://docs.brew.sh/Cask-Cookbook#stanza-zap
zap trash: ""
end end
RUBY RUBY