fix(brew): swap deprecated postflight stanza for postflight_steps

This commit is contained in:
mint committed 2026-09-15 15:47:34 +02:00
1 parent 8c68041f74
commit 98edf27262
1 file changed
+4 -3
+4 -3
View File
@@ -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'