turnero: simplificar bat kiosko — una sola línea sin detección de ruta
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
28fe662f40
commit
4a523204a1
+1
-23
@@ -1,27 +1,5 @@
|
||||
@echo off
|
||||
:: Cerrar Chrome completamente para que los flags apliquen
|
||||
taskkill /F /IM chrome.exe >nul 2>&1
|
||||
timeout /t 2 /nobreak >nul
|
||||
|
||||
:: 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"
|
||||
start "" "C:\Program Files\Google\Chrome\Application\chrome.exe" --kiosk --kiosk-printing --disable-print-preview "https://erp.laboratorioximenacaicedo.com/erp.php?m=turnero&v=kiosko&autoprint=1"
|
||||
|
||||
Reference in New Issue
Block a user