fix(casks): rewrite postflight to postflight_steps

This commit is contained in:
github-actions[bot]
2026-11-20 03:18:17 +00:00
parent 747baea8f5
commit f45eed9bc2
2 changed files with 6 additions and 8 deletions
+3 -4
View File
@@ -33,10 +33,9 @@ cask "mcp-filepuff" do
binary "mcp-filepuff" binary "mcp-filepuff"
postflight do postflight_steps do
if OS.mac? on_macos do
system_command "/usr/bin/xattr", run "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "{{staged_path}}/mcp-filepuff"]
args: ["-dr", "com.apple.quarantine", "#{staged_path}/mcp-filepuff"]
end end
end end
+3 -4
View File
@@ -33,10 +33,9 @@ cask "readitall" do
binary "readitall" binary "readitall"
postflight do postflight_steps do
if OS.mac? on_macos do
system_command "/usr/bin/xattr", run "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "{{staged_path}}/readitall"]
args: ["-dr", "com.apple.quarantine", "#{staged_path}/readitall"]
end end
end end