Configtool: find executables on Windows.
Probably no surprise for users of this platform, executables have a .exe suffix :-) This partially solves issue #158.
This commit is contained in:
parent
389dfdd3a1
commit
8b63505d53
|
|
@ -24,6 +24,9 @@ class ScriptTools:
|
||||||
self.settings = settings
|
self.settings = settings
|
||||||
|
|
||||||
def figureCommandPath(self, baseCommand):
|
def figureCommandPath(self, baseCommand):
|
||||||
|
if platform.startswith("win"):
|
||||||
|
baseCommand += ".exe"
|
||||||
|
|
||||||
if self.settings.arduinodir:
|
if self.settings.arduinodir:
|
||||||
cmdpath = self.settings.arduinodir
|
cmdpath = self.settings.arduinodir
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue