From 42777c587ea7e8d5b1739f6a049111133cbce116 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Tue, 12 Nov 2024 13:03:29 -0700 Subject: [PATCH] 60-rc2 --- reinstall-esp-idf.sh | 11 +++++++++++ version.txt | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/reinstall-esp-idf.sh b/reinstall-esp-idf.sh index f5cce30..6da2899 100644 --- a/reinstall-esp-idf.sh +++ b/reinstall-esp-idf.sh @@ -281,7 +281,18 @@ function handleLogoutAllUsers() { fi } +function handleCheckEspIdf() { + if [ ! -z $IDF_PYTHON_ENV_PATH ]; then + writeToLog "FAIL: esp-idf environment varibles found!\nPelase run from a fresh termnal that has not had get_idf ran! Exiting" + exit + else + writeToLog "Environment correct: no esp-idf evnironment variables found, proceeding" + fi +} + function handleStart() { + handleCheckEspIdf + if [ -z $sleepMins ]; then sleepMins="disabled" fi diff --git a/version.txt b/version.txt index e70035c..4f287b4 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -60-rc1.6.3 \ No newline at end of file +60-rc2 \ No newline at end of file