Projet

Général

Profil

Grégoire Dorin » install_platformio.sh

install partiel de platformio - Grégoire DORIN, 02/03/2023 15:53

 
#!/bin/bash

dpkg -s python3-venv
if [ $? -ne 0 ]
then
apt install python3-venv
fi

ls /usr/share/codium/resources/app/product.json
if [ $? -eq 0 ]
then
sed -i '80i \ ,"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",\n "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",\n "itemUrl": "https://marketplace.visualstudio.com/items"\n' /usr/share/codium/resources/app/product.json
fi

echo "l extention est maintenant disponible"
(4-4/7)