create: modify cask template
This commit is contained in:
parent
dc3daf77a5
commit
ae1c058f9b
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user