Split TakeOwnership code into TokenManipulator

This commit is contained in:
Yoshi Askharoun
2021-10-26 14:48:31 -05:00
parent 20aaab4c16
commit 4d8f939a0a
4 changed files with 44 additions and 24 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ namespace ZuneModCore.Mods
// Make a backup if it doesn't already exist
FileInfo zsDllBackupInfo = new(Path.Combine(StorageDirectory, "ZuneService.original.dll"));
if (zsDllBackupInfo.Exists)
if (!zsDllBackupInfo.Exists)
{
File.Copy(zsDllInfo.FullName, zsDllBackupInfo.FullName, true);
}