mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 18:17:13 +02:00
Fix platformio path for Windows
This commit is contained in:
@ -120,7 +120,8 @@ class ProjectGenerator(object):
|
|||||||
"user_home_dir": abspath(expanduser("~")),
|
"user_home_dir": abspath(expanduser("~")),
|
||||||
"project_dir": self.project_dir,
|
"project_dir": self.project_dir,
|
||||||
"systype": util.get_systype(),
|
"systype": util.get_systype(),
|
||||||
"platformio_path": util.where_is_program("platformio"),
|
"platformio_path": self._fix_os_path(
|
||||||
|
util.where_is_program("platformio")),
|
||||||
"env_pathsep": os.pathsep,
|
"env_pathsep": os.pathsep,
|
||||||
"env_path": self._fix_os_path(os.getenv("PATH"))
|
"env_path": self._fix_os_path(os.getenv("PATH"))
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user