Skip to content

Commit b84138f

Browse files
committed
drop flasher extension
Windows is smart enough to add trailing .exe, so we'll be able to add different commandlines depending on host OS
1 parent 15c1083 commit b84138f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

programmer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ func spHandlerProgram(flasher string, cmdString []string) error {
297297
extension = ".exe"
298298
}
299299

300-
oscmd = exec.Command(flasher+extension, cmdString...)
300+
oscmd = exec.Command(flasher, cmdString...)
301301

302302
tellCommandNotToSpawnShell(oscmd)
303303

0 commit comments

Comments
 (0)