Refactor some more.
This commit is contained in:
parent
6869e584fe
commit
acd33c7787
1 changed files with 1 additions and 2 deletions
|
@ -52,8 +52,7 @@ namespace IPA
|
||||||
context.EngineFile = DetermineEngineFile(context.ManagedPath, "UnityEngine.dll", "UnityEngine.CoreModule.dll");
|
context.EngineFile = DetermineEngineFile(context.ManagedPath, "UnityEngine.dll", "UnityEngine.CoreModule.dll");
|
||||||
context.AssemblyFile = Path.Combine(context.ManagedPath, "Assembly-Csharp.dll");
|
context.AssemblyFile = Path.Combine(context.ManagedPath, "Assembly-Csharp.dll");
|
||||||
context.BackupPath = Path.Combine(Path.Combine(context.IPARoot, "Backups"), context.ProjectName);
|
context.BackupPath = Path.Combine(Path.Combine(context.IPARoot, "Backups"), context.ProjectName);
|
||||||
string shortcutName = string.Format("{0} (Patch & Launch)", context.ProjectName);
|
context.ShortcutPath = Path.Combine(context.ProjectRoot, $"{context.ProjectName} (Patch & Launch)") + ".lnk";
|
||||||
context.ShortcutPath = Path.Combine(context.ProjectRoot, shortcutName) + ".lnk";
|
|
||||||
|
|
||||||
Directory.CreateDirectory(context.BackupPath);
|
Directory.CreateDirectory(context.BackupPath);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue