diff --git a/README.md b/README.md index fe210e3..249d23d 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,7 @@ installs/reinstalls full esp-idf with my own additions on linux. pulls from master so its the very latest -built for debian-like systems -only currently tested on zsh bash theoretically supported +only currently tested on zsh and bash under debian-like, your mileage may vary depending on what features are used some features require user to have passwordless sudo rights Literally the most schizophrenically overengineered thing I have ever made. idk why I did that diff --git a/esp-idf-tools-cmd.sh b/esp-idf-tools-cmd.sh index 5ee2fc0..6cb244a 100644 --- a/esp-idf-tools-cmd.sh +++ b/esp-idf-tools-cmd.sh @@ -306,7 +306,7 @@ function testAppendAlias() { ret=$? if [ ! $ret -eq 0 ]; then writeToLog "ailas $1 not found, appending to $rcFile" - echo "$2" >> "$rcFile" + echo -e "$2" >> "$rcFile" returnStatus else writeToLog "$1 found in $rcFile, skipping\n" diff --git a/install.sh b/install.sh index dfd67e9..613230f 100644 --- a/install.sh +++ b/install.sh @@ -1,4 +1,6 @@ #!/bin/bash +# sudo apt update +# sudo apt install git wget flex bison gperf python3 python3-pip python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0 mkdir -p ~/esp git clone --recursive https://github.com/PrincessPi3/esp-idf-tools.git ~/esp/esp-idf-tools bash ~/esp/esp-idf-tools/esp-idf-tools-cmd.sh # run as default noninteractive mode \ No newline at end of file diff --git a/todo.txt b/todo.txt index 5811fa3..bb7204d 100644 --- a/todo.txt +++ b/todo.txt @@ -20,9 +20,10 @@ x test da shit proper in bash finafrickingly lmfao x recheck changebaud/changebaud.sh x recheck exit-esp-info README/help - add install size to README - add installer to README - add uninstaller to README + installer command + curl -s https://raw.githubusercontent.com/PrincessPi3/esp-idf-tools/refs/heads/master/install.sh | exec $SHELL + uninstaller command + curl -s https://raw.githubusercontent.com/PrincessPi3/esp-idf-tools/refs/heads/master/uninstall.sh | exec $SHELL uninstaller make uninstaller interactive by default to make sure of paths check envvars for info