diff --git a/projects/LoaderCommandline/src/Program.cs b/projects/LoaderCommandline/src/Program.cs index 10e4e24..0a06fb9 100644 --- a/projects/LoaderCommandline/src/Program.cs +++ b/projects/LoaderCommandline/src/Program.cs @@ -31,6 +31,8 @@ private static string set_path(string hearthstone_path) bool executable_found = File.Exists(hearthstone_executable); if(executable_found) { + // Write the file, and return the string + File.WriteAllText("injector/path", path); return path; } else