Skip to content

Commit b552d0b

Browse files
Merge pull request #46 from yamachu/fix/unix_invoke_path
Use electron that exist in current path
2 parents 6097f9b + cb20c06 commit b552d0b

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)