From c193c474d111c931271a896e0a562c677cdee367 Mon Sep 17 00:00:00 2001 From: Sven Date: Thu, 5 May 2022 13:48:34 +0200 Subject: [PATCH] Removed unused console logging --- LegacyInstaller/Utilities.cs | 10 ---------- 1 file changed, 10 deletions(-) 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);