Skip to content

Commit

Permalink
Fixing chmod argument on Linux when launching esptool (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellerbach authored Jun 14, 2022
1 parent 4db4a9a commit ea0f01a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nanoFirmwareFlasher/EspTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ private bool RunEspTool(
appDir = Path.Combine(Program.ExecutingPath, "esptool", "esptoolLinux");
Process espToolExex = new Process();
// Making sure the esptool is executable
espToolExex.StartInfo = new ProcessStartInfo("chmod +x", Path.Combine(appDir, appName))
espToolExex.StartInfo = new ProcessStartInfo("chmod", $"+x {Path.Combine(appDir, appName)}")
{
WorkingDirectory = appDir,
UseShellExecute = false,
Expand Down

0 comments on commit ea0f01a

Please sign in to comment.