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:
committed by
David Heinemeier Hansson
co-authored by
Claude Fable 5
parent
81217e5749
commit
c50273e93a
@@ -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
|
||||
Reference in New Issue
Block a user