Don't run firefox until update is complete

This commit is contained in:
Sage Vaillancourt 2024-03-20 11:27:14 -04:00
parent 658e5043e1
commit 67f8c8aa21
1 changed files with 1 additions and 2 deletions

View File

@ -1,8 +1,7 @@
#!/bin/bash
kill $(pgrep firefox)
gnome-terminal -e "$HOME/.bin/update-firefox.sh"
MOZ_ENABLE_WAYLAND=1 setsid $HOME/.bin/firefox-developer-edition/firefox-bin
gnome-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