diff --git a/LegacyInstaller/Utilities.cs b/LegacyInstaller/Utilities.cs index 18723a0..d2a7b7c 100644 --- a/LegacyInstaller/Utilities.cs +++ b/LegacyInstaller/Utilities.cs @@ -133,22 +133,12 @@ public static void CreateJunctionLink(string destinationPath, string sourcePath) process.StartInfo.Arguments = $" /C mklink /J \"{destinationPath}\" \"{sourcePath}\""; process.StartInfo.CreateNoWindow = true; process.StartInfo.UseShellExecute = false; - process.StartInfo.RedirectStandardOutput = true; - process.OutputDataReceived += Process_OutputDataReceived; process.Start(); - - Console.WriteLine(process.StandardOutput.ReadToEnd()); - process.WaitForExit(); } } - private static void Process_OutputDataReceived(object sender, System.Diagnostics.DataReceivedEventArgs e) - { - Console.WriteLine(e.Data); - } - public static bool IsJunctionLink(string path) { FileInfo pathInfo = new FileInfo(path);