From 45fa5481fbc215a7ec997c83d605e701d4beca18 Mon Sep 17 00:00:00 2001 From: artman41 Date: Thu, 17 May 2018 01:09:27 +0100 Subject: [PATCH] Removed `Launcher.exe` as it was useless for the whole program --- IPA.sln | 6 ------ IPA/PatchContext.cs | 5 ----- IPA/Program.cs | 2 -- 3 files changed, 13 deletions(-) diff --git a/IPA.sln b/IPA.sln index 5b625aac..571cd9ff 100644 --- a/IPA.sln +++ b/IPA.sln @@ -10,8 +10,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IPA", "IPA\IPA.csproj", "{1 {E2848BFB-5432-42F4-8AE0-D2EC0CDF2F71} = {E2848BFB-5432-42F4-8AE0-D2EC0CDF2F71} EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Launcher", "Launcher\Launcher.csproj", "{D1390268-F68B-4A55-B50D-EAD25756C8EF}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IllusionPlugin", "IllusionPlugin\IllusionPlugin.csproj", "{E2848BFB-5432-42F4-8AE0-D2EC0CDF2F71}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IllusionInjector", "IllusionInjector\IllusionInjector.csproj", "{D1C61AF5-0D2D-4752-8203-1C6929025F7C}" @@ -28,10 +26,6 @@ Global {14092533-98BB-40A4-9AFC-27BB75672A70}.Debug|Any CPU.Build.0 = Debug|Any CPU {14092533-98BB-40A4-9AFC-27BB75672A70}.Release|Any CPU.ActiveCfg = Release|Any CPU {14092533-98BB-40A4-9AFC-27BB75672A70}.Release|Any CPU.Build.0 = Release|Any CPU - {D1390268-F68B-4A55-B50D-EAD25756C8EF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D1390268-F68B-4A55-B50D-EAD25756C8EF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D1390268-F68B-4A55-B50D-EAD25756C8EF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D1390268-F68B-4A55-B50D-EAD25756C8EF}.Release|Any CPU.Build.0 = Release|Any CPU {E2848BFB-5432-42F4-8AE0-D2EC0CDF2F71}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E2848BFB-5432-42F4-8AE0-D2EC0CDF2F71}.Debug|Any CPU.Build.0 = Debug|Any CPU {E2848BFB-5432-42F4-8AE0-D2EC0CDF2F71}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/IPA/PatchContext.cs b/IPA/PatchContext.cs index 1060a8ad..0f415bed 100644 --- a/IPA/PatchContext.cs +++ b/IPA/PatchContext.cs @@ -14,10 +14,6 @@ namespace IPA /// public string Executable { get; private set; } - /// - /// Gets the path to the launcher executable (in the IPA folder) - /// - public string LauncherPathSrc { get; private set; } public string DataPathSrc { get; private set; } public string PluginsFolder { get; private set; } public string ProjectName { get; private set; } @@ -43,7 +39,6 @@ namespace IPA context.ProjectRoot = new FileInfo(context.Executable).Directory.FullName; context.IPARoot = Path.Combine(context.ProjectRoot, "IPA"); context.IPA = Assembly.GetExecutingAssembly().Location ?? Path.Combine(context.ProjectRoot, "IPA.exe"); - context.LauncherPathSrc = Path.Combine(context.IPARoot, "Launcher.exe"); context.DataPathSrc = Path.Combine(context.IPARoot, "Data"); context.PluginsFolder = Path.Combine(context.ProjectRoot, "Plugins"); context.ProjectName = Path.GetFileNameWithoutExtension(context.Executable); diff --git a/IPA/Program.cs b/IPA/Program.cs index 51242724..f6f8b873 100644 --- a/IPA/Program.cs +++ b/IPA/Program.cs @@ -54,8 +54,6 @@ namespace IPA { } private static void Validate(PatchContext c) { - if (!File.Exists(c.LauncherPathSrc)) - Fail("Couldn't find DLLs! Make sure you extracted all contents of the release archive."); if (!Directory.Exists(c.DataPathDst) || !File.Exists(c.EngineFile)) { Fail("Game does not seem to be a Unity project. Could not find the libraries to patch."); Console.WriteLine($"DataPath: {c.DataPathDst}");