Explorar el Código

Wait for the browser to start opening

Bob Mottram hace 8 años
padre
commit
eaaea4d886
Ninguna cuenta está vinculada al correo electrónico del colaborador
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3
    0
      src/freedombone-mesh-visit-site

+ 3
- 0
src/freedombone-mesh-visit-site Ver fichero

@@ -77,6 +77,9 @@ case $sel in
77 77
                 echo $'Opening browser. Please wait...'
78 78
                 pkill $BROWSER
79 79
                 setsid sh -c "$BROWSER $BROWSER_OPTIONS $IPFS_FULL_URL$SUFFIX" > /dev/null 2>&1 < /dev/null &
80
+
81
+                # Need to wait a while for the browser to begin opening
82
+                sleep 3
80 83
             fi
81 84
         else
82 85
             exit 1