From 28fe662f401ca633a4aa7d0ba296472fd38ea087 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:21:52 -0500 Subject: [PATCH] turnero: bat kiosko busca Chrome en ambas rutas y fuerza pantalla completa Co-Authored-By: Claude Sonnet 4.6 --- kiosko_chrome.bat | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/kiosko_chrome.bat b/kiosko_chrome.bat index b862374..9923bdb 100644 --- a/kiosko_chrome.bat +++ b/kiosko_chrome.bat @@ -3,9 +3,25 @@ taskkill /F /IM chrome.exe >nul 2>&1 timeout /t 2 /nobreak >nul -start "" "C:\Program Files\Google\Chrome\Application\chrome.exe" ^ +:: Buscar Chrome en rutas comunes +set CHROME= +if exist "C:\Program Files\Google\Chrome\Application\chrome.exe" ( + set CHROME="C:\Program Files\Google\Chrome\Application\chrome.exe" +) +if exist "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" ( + set CHROME="C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" +) +if "%CHROME%"=="" ( + echo No se encontro Chrome. Verifica la instalacion. + pause + exit /b 1 +) + +start "" %CHROME% ^ + --kiosk ^ --kiosk-printing ^ --disable-print-preview ^ --no-first-run ^ --no-default-browser-check ^ + --disable-infobars ^ "https://erp.laboratorioximenacaicedo.com/erp.php?m=turnero&v=kiosko&autoprint=1"