wait a second to be sure firefox have open

This commit is contained in:
Mylloon 2023-05-18 01:05:47 +02:00
parent e470fc5189
commit 1d0c7182f6
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -111,6 +111,7 @@ PowerShell -Command "$archive = '%TEMP%\geek.zip';" ^
:: === Firefox configuration == :: === Firefox configuration ==
"%ProgramFiles%\Mozilla Firefox\firefox.exe" "%ProgramFiles%\Mozilla Firefox\firefox.exe"
TIMEOUT 1
TASKKILL /im firefox.exe /F TASKKILL /im firefox.exe /F
FOR /F %%i IN ('dir /B /S ^"%APPDATA%\Mozilla\Firefox\Profiles\*.default-release^"') DO SET "vbc=%%i" FOR /F %%i IN ('dir /B /S ^"%APPDATA%\Mozilla\Firefox\Profiles\*.default-release^"') DO SET "vbc=%%i"