mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 00:51:17 -08:00
fix(brew): swap deprecated postflight stanza for postflight_steps
This commit is contained in:
1 file changed
+4
-3
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user