1
0
mirror of https://github.com/mastercodeon314/KsDumper-11.git synced 2025-02-20 04:21:14 +01:00

Minor fix

This commit is contained in:
Mastercodeon 2023-01-30 19:28:03 -06:00
parent 71a10c3160
commit da2a38e570

View File

@ -80,12 +80,9 @@ namespace KsDumper11
if (providerID != 31)
{
writeToDisk(scanningPath, providerID.ToString());
//File.WriteAllText(scanningPath, providerID.ToString());
}
writeToDisk(workingProvidersPath, b.ToString());
//File.WriteAllText(workingProvidersPath, b.ToString());
Thread.Sleep(1000);
}
@ -226,18 +223,18 @@ namespace KsDumper11
Thread.Sleep(750);
//UpdateStatus("Starting driver with default provider #1", 50);
UpdateStatus("Starting driver with default provider #1", 50);
//string args = " /c " + Environment.CurrentDirectory + "\\Driver\\kdu.exe -map .\\Driver\\KsDumperDriver.sys > " + "\"" + logPath + "\"";
string args = " /c " + Environment.CurrentDirectory + "\\Driver\\kdu.exe -prv 1 -map .\\Driver\\KsDumperDriver.sys > " + "\"" + logPath + "\"";
//ProcessStartInfo inf = new ProcessStartInfo("cmd")
//{
// Arguments = args,
// CreateNoWindow = true,
// UseShellExecute = false,
//};
//Process proc = Process.Start(inf);
//proc.WaitForExit();
ProcessStartInfo inf = new ProcessStartInfo("cmd")
{
Arguments = args,
CreateNoWindow = true,
UseShellExecute = false,
};
Process proc = Process.Start(inf);
proc.WaitForExit();
scan(0);