Switch Brave Origin from the beta to the stable release (#6021)

Brave now publishes brave-origin-bin on AUR, so use it instead of
brave-origin-beta-bin. The stable wrapper also parses flags files
correctly, so Brave Origin can use the normal chromium flags like
the other Chromium-based browsers.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Abishek Neupane
2026-07-19 19:05:42 -07:00
committed by David Heinemeier Hansson
co-authored by Claude Fable 5
parent 81217e5749
commit c50273e93a
6 changed files with 26 additions and 13 deletions
+16
View File
@@ -0,0 +1,16 @@
echo "Switch Brave Origin from the beta to the stable release"
if omarchy-pkg-present brave-origin-beta-bin; then
default_browser=$(xdg-settings get default-web-browser 2>/dev/null || true)
omarchy-pkg-aur-add brave-origin-bin
omarchy-pkg-drop brave-origin-beta-bin
mkdir -p ~/.config
cp -f "$OMARCHY_PATH/config/chromium-flags.conf" ~/.config/brave-origin-flags.conf
rm -f ~/.config/brave-origin-beta-flags.conf
if [[ $default_browser == "brave-origin-beta.desktop" ]]; then
omarchy-default-browser brave-origin
fi
fi