Add ffx.sh and update_firefox.sh

This commit is contained in:
Sage Vaillancourt 2024-03-07 09:19:21 -05:00
parent cdbbb722a8
commit 2dd3943b4e
2 changed files with 16 additions and 0 deletions

8
fake_home/.bin/ffx.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
kill $(pgrep firefox)
xfce4-terminal -e "$HOME/.bin/update-firefox.sh"
MOZ_ENABLE_WAYLAND=1 setsid $HOME/.bin/firefox-developer-edition/firefox-bin
test -f "$HOME/.aws.exp" && bash -c "sleep 10; $HOME/.aws.exp" &> "$HOME/.aws.exp.log"
wait

View File

@ -0,0 +1,8 @@
#!/bin/bash
wget -O ff.tar.bz2 'https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=linux64&lang=en-US'
tar -xvf ff.tar.bz2 -C "$HOME/.bin/"
rm -rf "$HOME/.bin/firefox-developer-edition/"
mv "$HOME/.bin/firefox" "$HOME/.bin/firefox-developer-edition"
rm ff.tar.bz2
echo "Install complete!"