mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 14:12:16 +03:00
test fix path script
This commit is contained in:
@@ -9,10 +9,10 @@ Import("env")
|
||||
|
||||
if platform == "linux" or platform == "linux2":
|
||||
# linux '~/.platformio/platforms/espressif8266@4.0.1/builder/main.py'
|
||||
mainPyPath = env.get("PLATFORMIO_PLATFORMS_DIR") + '/espressif8266@4.0.1/builder/main.py'
|
||||
mainPyPath = env.subst("$PLATFORMIO_PLATFORMS_DIR") + '/espressif8266@4.0.1/builder/main.py'
|
||||
else:
|
||||
# windows os.environ['USERPROFILE'] + '\\.platformio\\platforms\\espressif8266@4.0.1\\builder\\main.py'
|
||||
mainPyPath = env.get("PLATFORMIO_PLATFORMS_DIR") + '\\espressif8266@4.0.1\\builder\\main.py'
|
||||
mainPyPath = env.subst("$PLATFORMIO_PLATFORMS_DIR") + '\\espressif8266@4.0.1\\builder\\main.py'
|
||||
|
||||
print(mainPyPath)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user