fix(casks): rewrite postflight to postflight_steps

This commit is contained in:
github-actions[bot]
2026-10-11 03:10:55 +00:00
parent 11e9447f77
commit 5e774af840
+3 -4
View File
@@ -33,10 +33,9 @@ cask "lolcathost" do
binary "lolcathost"
postflight do
if OS.mac?
system_command "/usr/bin/xattr",
args: ["-dr", "com.apple.quarantine", "#{staged_path}/lolcathost"]
postflight_steps do
on_macos do
run "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "{{staged_path}}/lolcathost"]
end
end