Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit be1605b

Browse files
committed
**KRAAAPP**. I plain forgot these SIO.Deletes on the self-healing code. It's not a surprise some people complained about, I was trying to do it the wrong way on Windows!!
1 parent fbccba5 commit be1605b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎Source/ModuleManagerWatchDog/InstallChecker.cs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ private string ForceMyFork()
211211
foreach(SIO.FileInfo file in Files ) try
212212
{
213213
if (this.IsMyFork(file)) continue;
214-
SIO.File.Delete(file.FullName);
214+
SelfCleaning.KillThis(file.FullName);
215215
++deletedFiles;
216216
}
217217
catch (Exception e)
@@ -226,11 +226,11 @@ private string ForceForum()
226226
{
227227
int deletedFiles = 0;
228228
SIO.DirectoryInfo d = new SIO.DirectoryInfo(GAMEDATA);
229-
SIO.FileInfo[] Files = d.GetFiles(ASSEMBLY_NAME + "*.dll"); //Getting Text files
229+
SIO.FileInfo[] Files = d.GetFiles(ASSEMBLY_NAME + "*.dll"); //Getting DLL files
230230
foreach(SIO.FileInfo file in Files ) try
231231
{
232232
if (!IsMyFork(file)) continue;
233-
SIO.File.Delete(file.FullName);
233+
SelfCleaning.KillThis(file.FullName);
234234
++deletedFiles;
235235
}
236236
catch (Exception e)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /