Log.Info("TJprojMain-remover by VollRagm",ConsoleColor.Blue);
CheckSafeBoot();
Console.WriteLine();
CheckSafeBoot();
DisableAutostart();
RemoveFiles();
Log.Info("Done.");
Console.ReadLine();
}
staticvoidCheckSafeBoot()
@ -28,41 +31,55 @@ namespace TJprojMain_remover
varsafeBoot=Utils.IsSafeMode();
if(!safeBoot)
{
varproceed=Log.QueryYesNo("You did not boot into safe mode, which means that the process is running and cannot be deleted. Do you wish to try anyways? (y/n): ");
if(!proceed)
{
Log.Info("Here is how to boot into safe mode: https://www.digitalcitizen.life/4-ways-boot-safe-mode-windows-10/");
Console.ReadLine();
Environment.Exit(0);
}
Log.Critical("You did not boot into safe mode, which means that the processes cannot be deleted.");
Log.Info("Here is how to boot into safe mode: https://www.digitalcitizen.life/4-ways-boot-safe-mode-windows-10/");