From fcd1361265c0cf0ccfeba717313c3ef98d2720f1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 10 Oct 2026 03:09:09 +0000 Subject: [PATCH] fix(casks): rewrite postflight to postflight_steps --- Casks/lolcathost.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Casks/lolcathost.rb b/Casks/lolcathost.rb index a657edb..ea89af4 100644 --- a/Casks/lolcathost.rb +++ b/Casks/lolcathost.rb @@ -33,10 +33,9 @@ cask "lolcathost" do binary "lolcathost" - postflight do - if OS.mac? - system_command "/usr/bin/xattr", - args: ["-dr", "com.apple.quarantine", "#{staged_path}/lolcathost"] + postflight_steps do + on_macos do + run "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "{{staged_path}}/lolcathost"] end end