jesus fucvk fix4es
This commit is contained in:
+4
-3
@@ -1,5 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo -e "\n\nBEGINNING AUTOMATED INSTALL WITH DEFAULTS\n\n"
|
echo -e "\n\nBEGINNING AUTOMATED INSTALL WITH DEFAULTS\n\n"
|
||||||
|
installDir="$HOME/esp"
|
||||||
|
|
||||||
# possible package manager shit for later
|
# possible package manager shit for later
|
||||||
# sudo apt update
|
# sudo apt update
|
||||||
@@ -36,13 +37,13 @@ unset ESPBAUD
|
|||||||
unset ESPTARGET
|
unset ESPTARGET
|
||||||
|
|
||||||
# make installDir or fail silently if exists
|
# make installDir or fail silently if exists
|
||||||
mkdir -p ~/esp
|
mkdir -p "$installDir"
|
||||||
|
|
||||||
# download da tools
|
# download da tools
|
||||||
git clone --recursive https://github.com/PrincessPi3/esp-idf-tools.git ~/esp/esp-idf-tools
|
git clone --recursive https://github.com/PrincessPi3/esp-idf-tools.git "$installDir/esp-idf-tools"
|
||||||
|
|
||||||
# do da install
|
# do da install
|
||||||
## tryan nuke mode for lulz
|
## tryan nuke mode for lulz
|
||||||
bash -c "$HOME/esp/esp-idf-tools/esp-idf-tools-cmd.sh nuke"
|
bash -c "$installDir/esp-idf-tools/esp-idf-tools-cmd.sh nuke"
|
||||||
|
|
||||||
echo -e "\n\nINSTALL COMPLETE\n\n"
|
echo -e "\n\nINSTALL COMPLETE\n\n"
|
||||||
Reference in New Issue
Block a user