Cambios menores

This commit is contained in:
Angel Ivan
2026-05-14 11:01:47 -06:00
parent a535cbe5fe
commit 3cf3ac6c40
2 changed files with 3 additions and 5 deletions

View File

@@ -20,16 +20,15 @@ class Program
}
string[] configLines = File.ReadAllLines(configPath);
if (configLines.Length < 3)
if (configLines.Length < 2)
{
Console.WriteLine("El archivo configbackup.txt debe tener 3 líneas: IP, Ruta .dmb y MAC Address");
Console.WriteLine("El archivo configbackup.txt debe tener 2 líneas: IP y Ruta .dmb");
Console.ReadKey();
return;
}
string ipString = configLines[0].Trim();
string originalDmbPath = configLines[1].Trim().Trim('"');
string macAddress = configLines[2].Trim(); // Guardada para uso futuro
string labviewFolder = "C:\\Pruebas"; //TODO: Actualizar ruta
if (!File.Exists(originalDmbPath))

View File

@@ -1,3 +1,2 @@
192.168.1.10
C:\Backups\mi_lector.dmb
00:1A:2B:3C:4D:5E