From 2987e3143d535efc2886e4d61e4414c9e8e52765 Mon Sep 17 00:00:00 2001 From: Syed Adeel Hassan Rizvi Date: Fri, 1 May 2020 09:45:02 +1000 Subject: [PATCH] commented out the code --- ElectronNET.CLI/Commands/StartElectronCommand.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ElectronNET.CLI/Commands/StartElectronCommand.cs b/ElectronNET.CLI/Commands/StartElectronCommand.cs index 8c04e02..fb9a76f 100644 --- a/ElectronNET.CLI/Commands/StartElectronCommand.cs +++ b/ElectronNET.CLI/Commands/StartElectronCommand.cs @@ -65,14 +65,14 @@ namespace ElectronNET.CLI.Commands if (parser != null && parser.Contains("watch")) { - // if not exists then create mklink - if (!Directory.Exists($"{tempBinPath}")) Directory.CreateDirectory(tempBinPath); - if (!Directory.Exists($"{tempBinPath}\\wwwroot")) resultCode = ProcessHelper.CmdExecute($"mklink /D {tempBinPath}\\wwwroot wwwroot", aspCoreProjectPath); + // no need for this code i will remove this before PRS + //if (!Directory.Exists($"{tempBinPath}")) Directory.CreateDirectory(tempBinPath); + //if (!Directory.Exists($"{tempBinPath}\\wwwroot")) resultCode = ProcessHelper.CmdExecute($"mklink /D {tempBinPath}\\wwwroot wwwroot", aspCoreProjectPath); - if (!File.Exists($"{tempBinPath}\\electron.manifest.json")) - { - resultCode = ProcessHelper.CmdExecute($"mklink /h {tempBinPath}\\electron.manifest.json electron.manifest.json", aspCoreProjectPath); - } + //if (!File.Exists($"{tempBinPath}\\electron.manifest.json")) + //{ + // resultCode = ProcessHelper.CmdExecute($"mklink /h {tempBinPath}\\electron.manifest.json electron.manifest.json", aspCoreProjectPath); + //} } else