From acd33c77873e6d8f8d1014ad9effb0f949de5a43 Mon Sep 17 00:00:00 2001 From: Eusth Date: Mon, 8 Oct 2018 21:01:48 +0200 Subject: [PATCH] Refactor some more. --- IPA/PatchContext.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/IPA/PatchContext.cs b/IPA/PatchContext.cs index 36427ee..f3efb05 100644 --- a/IPA/PatchContext.cs +++ b/IPA/PatchContext.cs @@ -52,8 +52,7 @@ namespace IPA context.EngineFile = DetermineEngineFile(context.ManagedPath, "UnityEngine.dll", "UnityEngine.CoreModule.dll"); context.AssemblyFile = Path.Combine(context.ManagedPath, "Assembly-Csharp.dll"); 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, shortcutName) + ".lnk"; + context.ShortcutPath = Path.Combine(context.ProjectRoot, $"{context.ProjectName} (Patch & Launch)") + ".lnk"; Directory.CreateDirectory(context.BackupPath);