From 5c3a0636819dc956d60652c593395a246bc95cea Mon Sep 17 00:00:00 2001 From: HearthstoneBot Date: Mon, 17 Mar 2014 23:29:37 +0100 Subject: [PATCH] Fix to LoaderCommandline Now generates the 'path' file, when assuming default location, instead of just using it. --- projects/LoaderCommandline/src/Program.cs | 2 ++ 1 file changed, 2 insertions(+) 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