fix(casks): rewrite postflight to postflight_steps

This commit is contained in:
github-actions[bot]
2026-10-09 03:13:38 +00:00
parent fb0f448003
commit e920105e9a
+3 -4
View File
@@ -33,10 +33,9 @@ cask "semver-generator" do
binary "semver-generator" binary "semver-generator"
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}}/semver-generator"]
args: ["-dr", "com.apple.quarantine", "#{staged_path}/semver-generator"]
end end
end end