mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-02-25 10:01:02 +01:00
bash/usr-local-bin/brave: lazily detect nightly files
This commit is contained in:
parent
c3707e42ab
commit
1aec654b16
@ -1,5 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -x
|
||||
/usr/bin/brave-browser-stable --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@"
|
||||
if [[ -d "$HOME/.config/BraveSoftware/Brave-Browser-Nightly" && -d "$HOME/.cache/BraveSoftware/Brave-Browser-Nightly" ]]; then
|
||||
/usr/bin/brave-browser-nightly --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@"
|
||||
else
|
||||
/usr/bin/brave-browser-stable --ozone-platform=wayland --disk-cache-dir='/dev/null' --enable-features=WaylandWindowDecorations "$@"
|
||||
fi
|
||||
set +x
|
||||
|
Loading…
x
Reference in New Issue
Block a user