mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-01-25 03:24:55 +01:00
Compare commits
No commits in common. "9d2e5953f93697e298805245ea5d66b708a6af3d" and "444f713332e131883477f9ba5f188c26e5dac202" have entirely different histories.
9d2e5953f9
...
444f713332
@ -1,26 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# I always want to see the profile manager, whether it's my first run or
|
||||
# not and I probably have to micromanage wayland enabling everywhere.
|
||||
|
||||
# I cannot use the Flatpak as it doesn't support smartcards.
|
||||
|
||||
set -x
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
FlagsForFirefox="--ProfileManager $@"
|
||||
|
||||
# Firefox (stable, beta) and signatures: https://releases.mozilla.org/pub/firefox/releases/
|
||||
# Developer edition (and signatures): https://releases.mozilla.org/pub/devedition/releases/
|
||||
if [ -f ~/.local/firefox/firefox ]
|
||||
then
|
||||
~/.local/firefox/firefox $FlagsForFirefox
|
||||
# Fallback to global installation
|
||||
elif [ -f /usr/bin/firefox ]
|
||||
then
|
||||
/usr/bin/firefox $FlagsForFirefox
|
||||
# Fallback to flatpak, don't care if it doesn't exist
|
||||
else
|
||||
flatpak run org.mozilla.firefox $FlagsForFirefox
|
||||
fi
|
||||
|
||||
flatpak run org.mozilla.firefox --ProfileManager $@
|
||||
set +x
|
||||
|
Loading…
Reference in New Issue
Block a user