From c9c34a27e4c1eb8a55f58417e5154cd4e519d199 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Tue, 12 Nov 2024 17:45:13 -0700 Subject: [PATCH] 61-dev1.11 --- reinstall-esp-idf.sh | 4 +++- version.txt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/reinstall-esp-idf.sh b/reinstall-esp-idf.sh index 2a89eb8..0e4352c 100644 --- a/reinstall-esp-idf.sh +++ b/reinstall-esp-idf.sh @@ -205,7 +205,9 @@ function handleAliasEnviron() { function handleDownloadInstall() { writeToLog "Handling download and install (function ran)\n" - if [ "$idfGet" == "download" ]; then + if [ "$idfGet" == "download" || ! -d "$idfDir" ]; then + writeToLog "Setting for download mode\n" + if [ -d "$idfDir" ]; then writeToLog "deleting $idfDir" rm -rf $idfDir diff --git a/version.txt b/version.txt index 1622285..74960c7 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -61-dev1.10 \ No newline at end of file +61-dev1.11 \ No newline at end of file