mirror of
https://github.com/AdisonCavani/distro-grub-themes.git
synced 2025-06-07 15:32:34 +02:00
Fix debug messages
This commit is contained in:
parent
7b34c3c0ba
commit
0b0db925a7
2 changed files with 5 additions and 5 deletions
|
@ -12,7 +12,7 @@ namespace DistroGrubThemes
|
||||||
};
|
};
|
||||||
|
|
||||||
// Add a directory tree to be included in the output TAR archive:
|
// 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)
|
if (success != true)
|
||||||
{
|
{
|
||||||
Console.ForegroundColor = ConsoleColor.Red;
|
Console.ForegroundColor = ConsoleColor.Red;
|
||||||
|
@ -34,6 +34,10 @@ namespace DistroGrubThemes
|
||||||
Console.Write(tar.LastErrorText + "\n");
|
Console.Write(tar.LastErrorText + "\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Console.ForegroundColor = ConsoleColor.Green;
|
||||||
|
Console.Write("OK\n");
|
||||||
|
Console.ResetColor();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,10 +33,6 @@ namespace DistroGrubThemes
|
||||||
{
|
{
|
||||||
Console.Write("Creating " + directory.Value + ".tar archive ... ");
|
Console.Write("Creating " + directory.Value + ".tar archive ... ");
|
||||||
ArchiveManager.CreateTarArchive(directory.Key, path + @"\themes\" + directory.Value + ".tar");
|
ArchiveManager.CreateTarArchive(directory.Key, path + @"\themes\" + directory.Value + ".tar");
|
||||||
|
|
||||||
Console.ForegroundColor = ConsoleColor.Green;
|
|
||||||
Console.Write("OK\n");
|
|
||||||
Console.ResetColor();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue