screenshot-service/Docker/prepare-firefox.sh

21 lines
439 B
Bash
Raw Normal View History

2022-06-17 09:37:27 +02:00
#!/bin/bash
source ./ephemeral-x.sh
source ./annotate_header.sh
source ./utils.sh
2022-07-24 14:39:50 +02:00
source ./bloatter.sh
2022-06-17 09:37:27 +02:00
echo "{\"current_action\": \"Uruchamianie serwera X\"}"
2022-06-17 09:37:27 +02:00
echo "{\"current_action\": \"Wczytywanie Firefoxa....\"}"
2022-06-17 09:37:27 +02:00
start_firefox
grab start_firefox
prepare_firefox
grab prepare_firefox
2022-07-24 14:39:50 +02:00
bloat_firefox 0
grab bloat_firefox
echo "{\"current_action\": \"Oczekiwanie na URL do analizy...\", \"code\": \"ready\"}"
2022-06-17 09:37:27 +02:00
./eternal-sleep.sh &
wait