Skip to content

Commit ad07421

Browse files
committed
Update install-platformio-esp32.sh
1 parent 537384d commit ad07421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/install-platformio-esp32.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ echo "Installing Platform ESP32 ..."
1313
python -m platformio platform install $PLATFORMIO_ESP32_URL > /dev/null 2>&1
1414

1515
echo "Replacing the framework version ..."
16-
python -c "import json; import os; fp=open(os.path.expanduser('~/.platformio/platforms/espressif32/platform.json'), 'r+'); data=json.load(fp); data['packages']['framework-arduinoespressif32']['version'] = '*'; fp.seek(0); fp.truncate(); json.dump(data, fp); fp.close()"
16+
python -c "import json; import os; fp=open(os.path.expanduser('~/.platformio/platforms/espressif32/platform.json'), 'r+'); data=json.load(fp); data['packages']['framework-arduinoespressif32']['version'] = '*'; del data['packages']['framework-arduinoespressif32']['owner']; fp.seek(0); fp.truncate(); json.dump(data, fp); fp.close()"
1717

1818
if [ "$GITHUB_REPOSITORY" == "espressif/arduino-esp32" ]; then
1919
echo "Linking Core..."

0 commit comments

Comments
 (0)