From 4c4057ed7e4d8e3ba1d9c20628d39913b57f9d49 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 2 Nov 2026 03:05:14 +0000 Subject: [PATCH] fix(casks): rewrite postflight to postflight_steps --- Casks/kportal.rb | 7 +++---- Casks/lolcathost.rb | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Casks/kportal.rb b/Casks/kportal.rb index 2e8d804..945a2dd 100644 --- a/Casks/kportal.rb +++ b/Casks/kportal.rb @@ -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 diff --git a/Casks/lolcathost.rb b/Casks/lolcathost.rb index 2573035..3ab1132 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