Use electron that exist in current path

This commit is contained in:
Yusuke Yamada
2017-11-07 16:58:32 +09:00
parent 6097f9babe
commit cb20c063cf

View File

@@ -69,7 +69,7 @@ namespace ElectronNET.CLI.Commands
else
{
Console.WriteLine("Invoke electron - in dir: " + path);
ProcessHelper.CmdExecute(@"electron ""..\..\main.js""", path);
ProcessHelper.CmdExecute(@"./electron ""../../main.js""", path);
}
return true;