fix(casks): rewrite postflight to postflight_steps

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