implement noahc3's game trimming function
This commit is contained in:
parent
511184ea04
commit
6745d9a91d
2 changed files with 28 additions and 0 deletions
|
@ -105,6 +105,20 @@ namespace h_encore_auto
|
|||
process.Start();
|
||||
process.WaitForExit();
|
||||
|
||||
try
|
||||
{
|
||||
string path = Ref.tempDir + "app\\PCSG90096\\resource\\";
|
||||
foreach (string k in Ref.trims)
|
||||
{
|
||||
Util.DeleteDirectory(path + k);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show("Unexpected Exception: " + ex.Message);
|
||||
return;
|
||||
}
|
||||
|
||||
for (; ; )
|
||||
{
|
||||
Process[] pname = Process.GetProcessesByName("qcma");
|
||||
|
|
Reference in a new issue