From 98edf27262fbd48ce03224a6fd01272886bdddf5 Mon Sep 17 00:00:00 2001 From: mint Date: Tue, 15 Sep 2026 15:45:25 +0200 Subject: [PATCH] fix(brew): swap deprecated postflight stanza for postflight_steps --- packaging/homebrew/sable.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packaging/homebrew/sable.rb b/packaging/homebrew/sable.rb index a6786adc5..b64b70fc5 100644 --- a/packaging/homebrew/sable.rb +++ b/packaging/homebrew/sable.rb @@ -22,9 +22,10 @@ cask 'sable' do # The DMG is neither signed nor notarized, so Gatekeeper would refuse to open # it. Drop the quarantine flag the download picked up. - postflight do - system_command '/usr/bin/xattr', - args: ['-dr', 'com.apple.quarantine', "#{appdir}/Sable.app"] + postflight_steps do + on_macos do + run '/usr/bin/xattr', args: ['-dr', 'com.apple.quarantine', "#{appdir}/Sable.app"] + end end uninstall quit: 'moe.sable.client'