diff --git a/src/ArchiveManager.cs b/src/ArchiveManager.cs index 903b78b..4c60e1b 100644 --- a/src/ArchiveManager.cs +++ b/src/ArchiveManager.cs @@ -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(); } } } diff --git a/src/Program.cs b/src/Program.cs index b745cbf..7510b9d 100644 --- a/src/Program.cs +++ b/src/Program.cs @@ -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(); } }