Open Starlight220 opened 4 years ago
While not ideal, It is still possible to automate (at least for Linux, I have not tested other Operating Systems). In every OS release (for 2021) there is a companion archive with the files that will go into the ~/wpilib/YEAR/
Install instructions for Linux for the 2021 release (mostly) in CLI. A install would look similar to...
tar xf WPILib_Linux-2021.1.1-beta-4.tar.gz
mkdir 2021
cd 2021
mv ../WPILib_Linux-2021.1.1-beta-4/WPILib_Linux-2021.1.1-beta-4-artifacts.tar.gz .
tar xf WPILib_Linux-2021.1.1-beta-4-artifacts.tar.gz
rm WPILib_Linux-2021.1.1-beta-4-artifacts.tar.gz
cd ..
mkdir -p ~/wpilib
mv 2021 ~/wpilib
rm -rf WPILib_Linux-*
cd ~/wpilib/2021/tools/ && python3 ToolsUpdater.py
cd ~/wpilib/2021/vsCodeExtensions && find . -name "*.vsix" | xargs -I {} code --install-extension {}
I chose to exclude extra instructions such as VSCode installation
This would be very helpful for install automation. I can try to help implement this, but I am not very sure in my ability to help significantly.