From 09dc200030473b90cd8a33093b993795a29130b3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 1 Nov 2026 03:05:03 +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 855e73c..82db116 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