Skip to content

Commit cb20c06

Browse files
committed
Use electron that exist in current path
1 parent 6097f9b commit cb20c06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ElectronNET.CLI/Commands/StartElectronCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public Task<bool> ExecuteAsync()
6969
else
7070
{
7171
Console.WriteLine("Invoke electron - in dir: " + path);
72-
ProcessHelper.CmdExecute(@"electron ""..\..\main.js""", path);
72+
ProcessHelper.CmdExecute(@"./electron ""../../main.js""", path);
7373
}
7474

7575
return true;

0 commit comments

Comments
 (0)