fix(casks): rewrite postflight to postflight_steps

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