|
@ -283,6 +283,7 @@ namespace IPA.Injector |
|
|
deleter.Methods.Clear(); // delete all methods
|
|
|
deleter.Methods.Clear(); // delete all methods
|
|
|
|
|
|
|
|
|
string tempFilePath = Path.GetTempFileName(); |
|
|
string tempFilePath = Path.GetTempFileName(); |
|
|
|
|
|
bkp?.Add(ascPath); |
|
|
ascAsmDef.Write(tempFilePath); |
|
|
ascAsmDef.Write(tempFilePath); |
|
|
File.Delete(ascPath); |
|
|
File.Delete(ascPath); |
|
|
File.Move(tempFilePath, ascPath); |
|
|
File.Move(tempFilePath, ascPath); |
|
|