From cb20c063cfebff76ce61b1be46ce2b2bc60ea18c Mon Sep 17 00:00:00 2001 From: Yusuke Yamada Date: Tue, 7 Nov 2017 16:58:32 +0900 Subject: [PATCH] Use electron that exist in current path --- ElectronNET.CLI/Commands/StartElectronCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElectronNET.CLI/Commands/StartElectronCommand.cs b/ElectronNET.CLI/Commands/StartElectronCommand.cs index cd91527..6cb0b66 100644 --- a/ElectronNET.CLI/Commands/StartElectronCommand.cs +++ b/ElectronNET.CLI/Commands/StartElectronCommand.cs @@ -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;