fix(casks): rewrite postflight to postflight_steps

This commit is contained in:
github-actions[bot]
2026-10-12 03:28:05 +00:00
parent 98e6099766
commit 19d81404a0
2 changed files with 6 additions and 8 deletions
+3 -4
View File
@@ -33,10 +33,9 @@ cask "mcp-filepuff" do
binary "mcp-filepuff"
postflight do
if OS.mac?
system_command "/usr/bin/xattr",
args: ["-dr", "com.apple.quarantine", "#{staged_path}/mcp-filepuff"]
postflight_steps do
on_macos do
run "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "{{staged_path}}/mcp-filepuff"]
end
end
+3 -4
View File
@@ -33,10 +33,9 @@ cask "semver-generator" do
binary "semver-generator"
postflight do
if OS.mac?
system_command "/usr/bin/xattr",
args: ["-dr", "com.apple.quarantine", "#{staged_path}/semver-generator"]
postflight_steps do
on_macos do
run "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "{{staged_path}}/semver-generator"]
end
end