fix(casks): rewrite postflight to postflight_steps

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