Skip to content

Commit

Permalink
first step in fixing the debug UX
Browse files Browse the repository at this point in the history
related to ElectronNET#13
  • Loading branch information
robertmuehsig committed Oct 26, 2017
1 parent 5718e5a commit 4433d36
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ElectronNET.CLI/Commands/StartElectronCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ public Task<bool> ExecuteAsync()
Console.WriteLine("Start npm install...");
ProcessHelper.CmdExecute("npm install", tempPath);

ProcessHelper.CmdExecute(@"electron.cmd ""..\..\main.js""", Path.Combine(tempPath, "node_modules", ".bin"), false, false);
string path = Path.Combine(tempPath, "node_modules", ".bin");
Console.WriteLine("Invoke electron.cmd - in dir: " + path);

ProcessHelper.CmdExecute(@"electron.cmd ""..\..\main.js""", path);

return true;
});
Expand Down

0 comments on commit 4433d36

Please sign in to comment.