From 93c7bfd982311a24d93f416a5fb8db9778340c6f Mon Sep 17 00:00:00 2001 From: roberto Date: Wed, 17 Apr 2024 08:33:18 +0000 Subject: [PATCH] Autoupdater git-svn-id: https://192.168.0.254/svn/Proyectos.AbetoDesign_FactuGES/trunk@190 93f398dd-4eb6-7a46-baf6-13f46f578da2 --- Installer/UpdateClient/check_updater.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Installer/UpdateClient/check_updater.bat b/Installer/UpdateClient/check_updater.bat index 2f77940..6867e40 100644 --- a/Installer/UpdateClient/check_updater.bat +++ b/Installer/UpdateClient/check_updater.bat @@ -1,11 +1,11 @@ -@echo off +@echo off set "programa=factuges_updater.exe" REM Verifica si el programa está en ejecución tasklist /FI "IMAGENAME eq %programa%" 2>NUL | find /I /N "%programa%">NUL if "%ERRORLEVEL%"=="1" ( REM El programa no está en ejecución. Iniciando... - start "" /MIN "%programa%" /Tray REM Inicia el programa si no está en ejecución con el parámetro /Tray + start "" /MIN "c:\cliente\%programa%" /Tray REM Inicia el programa si no está en ejecución con el parámetro /Tray ) else ( REM El programa ya está en ejecución. ) \ No newline at end of file