Fix debug messages

This commit is contained in:
Adison Cavani 2021-10-09 23:39:36 +02:00
parent 7b34c3c0ba
commit 0b0db925a7
No known key found for this signature in database
GPG key ID: 2C36C61283E73DC9
2 changed files with 5 additions and 5 deletions

View file

@ -12,7 +12,7 @@ namespace DistroGrubThemes
};
// Add a directory tree to be included in the output TAR archive:
bool success = tar.AddDirRoot(sourceDirectory);
bool success = tar.AddDirRoot(sourceDirectory + "xxd");
if (success != true)
{
Console.ForegroundColor = ConsoleColor.Red;
@ -34,6 +34,10 @@ namespace DistroGrubThemes
Console.Write(tar.LastErrorText + "\n");
return;
}
Console.ForegroundColor = ConsoleColor.Green;
Console.Write("OK\n");
Console.ResetColor();
}
}
}

View file

@ -33,10 +33,6 @@ namespace DistroGrubThemes
{
Console.Write("Creating " + directory.Value + ".tar archive ... ");
ArchiveManager.CreateTarArchive(directory.Key, path + @"\themes\" + directory.Value + ".tar");
Console.ForegroundColor = ConsoleColor.Green;
Console.Write("OK\n");
Console.ResetColor();
}
}