mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-21 21:37:18 +00:00

When vscode is ran from the Tasmota folder in Linux, build fails with message : ```Executing task: pio run < The terminal process failed to launch: Path to shell executable "pio" is not a file of a symlink.``` Renaming pio folder into pio-tools solve the problem. Note: the problem can still occur if the user have a pio folder in his PATH...
10 lines
347 B
Python
10 lines
347 B
Python
Import('env')
|
|
import os
|
|
import shutil
|
|
|
|
# copy tasmota/user_config_override_sample.h to tasmota/user_config_override.h
|
|
if os.path.isfile("tasmota/user_config_override.h"):
|
|
print ("*** use provided user_config_override.h as planned ***")
|
|
else:
|
|
shutil.copy("tasmota/user_config_override_sample.h", "tasmota/user_config_override.h")
|