fix(casks): rewrite postflight to postflight_steps

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