-
Notifications
You must be signed in to change notification settings - Fork 970
Updates for Brave on macOS should not be quarantined #13817
Comments
Potential fix here: brave/muon#569 |
Custom install paths don't work (ex. /Users/laurenwagner/Brave\ Documents/Laptop/0.22.19 ) |
Fixed with 8aff60d The root cause was that the auto-updater would relaunch the executable as something like this: When xattr runs, it would get this error (which was masked since CLI isn't open) |
Verified on macOS 10.12.6 x64 using the following build:
Scenarios Tested:
Custom paths work as expected when launching from the terminal in Step 13. If you launch from the icon, then the quarantine flag is not removed. Work around: launch from the terminal (once) using /Contents/MacOS/Brave or re-install 0.22.21. |
Test plan
Perform the following steps for:
/Applications/Brave.app
~/Desktop/brave/Brave.app
)~/Desktop/brave folder/Brave.app
)Steps:
xattr <path to Brave.app>
and verify it’s not quarantined. If it is, runxattr -d com.apple.quarantine <path to Brave.app>
BRAVE_ENABLE_PREVIEW_UPDATES=true /Applications/Brave.app/Contents/MacOS/Brave
Brave
>Check for Updates...
xattr <path to Brave.app>
while the dialog is shown to verify it's quarantinedcom.apple.quarantine
If you run this command for a custom path install, you WILL still see the attribute
xattr
command now to ensurecom.apple.quarantine
is removedDescription
Unintentionally introduced with brave/muon#484
After doing an update on macOS using 0.22.13 (to any version), user is presented with this message box:

This is a bad user experience. Because it has been quarantined, this can also affect extensions like 1Password, causing them to not work properly.
Steps to reproduce
BRAVE_ENABLE_PREVIEW_UPDATES=true /Applications/Brave.app/Contents/MacOS/Brave
Brave
>Check for Updates...
If the binary is quarantined, it'll return back:
com.apple.quarantine
The text was updated successfully, but these errors were encountered: