Skip to content

Commit 2987e31

Browse files
author
Syed Adeel Hassan Rizvi
committed
commented out the code
1 parent 20ca72b commit 2987e31

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

ElectronNET.CLI/Commands/StartElectronCommand.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ public Task<bool> ExecuteAsync()
6565
if (parser != null && parser.Contains("watch"))
6666
{
6767

68-
// if not exists then create mklink
69-
if (!Directory.Exists($"{tempBinPath}")) Directory.CreateDirectory(tempBinPath);
70-
if (!Directory.Exists($"{tempBinPath}\\wwwroot")) resultCode = ProcessHelper.CmdExecute($"mklink /D {tempBinPath}\\wwwroot wwwroot", aspCoreProjectPath);
71-
72-
if (!File.Exists($"{tempBinPath}\\electron.manifest.json"))
73-
{
74-
resultCode = ProcessHelper.CmdExecute($"mklink /h {tempBinPath}\\electron.manifest.json electron.manifest.json", aspCoreProjectPath);
75-
}
68+
// no need for this code i will remove this before PRS
69+
//if (!Directory.Exists($"{tempBinPath}")) Directory.CreateDirectory(tempBinPath);
70+
//if (!Directory.Exists($"{tempBinPath}\\wwwroot")) resultCode = ProcessHelper.CmdExecute($"mklink /D {tempBinPath}\\wwwroot wwwroot", aspCoreProjectPath);
71+
72+
//if (!File.Exists($"{tempBinPath}\\electron.manifest.json"))
73+
//{
74+
// resultCode = ProcessHelper.CmdExecute($"mklink /h {tempBinPath}\\electron.manifest.json electron.manifest.json", aspCoreProjectPath);
75+
//}
7676

7777
}
7878
else

0 commit comments

Comments
 (0)