Match Brave Origin refresh on binary path to avoid installer self-match
The stable Brave Origin's process is named plain "brave" (the wrapper execs /opt/brave-origin-bin/brave), so pgrep -x brave-origin never matches, and pgrep -f brave-origin also matches the installer's own floating terminal - which made omarchy-install-browser launch a headless browser and hang on first install. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
c50273e93a
commit
cc4b92f367
@@ -41,4 +41,6 @@ refresh_running_browser msedge microsoft-edge-stable
|
||||
|
||||
set_browser_policy /etc/brave/policies/managed
|
||||
refresh_running_browser brave brave
|
||||
refresh_running_browser brave-origin brave-origin -f
|
||||
# Match on the binary path: the running process is named plain "brave", and a
|
||||
# bare -f brave-origin pattern would also match the installer's own terminal.
|
||||
refresh_running_browser /opt/brave-origin-bin/ brave-origin -f
|
||||
|
||||
Reference in New Issue
Block a user