Files
omarchycn/migrations/1784510887.sh
T
c50273e93a 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>
2026-07-19 19:05:42 -07:00

17 lines
543 B
Bash

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