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