From b720050abf3ea3977f8a85588e7e2c1af5b70072 Mon Sep 17 00:00:00 2001 From: Carl Roman Hultay <144816337+crhultay@users.noreply.github.com> Date: Mon, 25 Nov 2024 09:34:50 -0500 Subject: [PATCH] Update autoexec.sh --- autoexec.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoexec.sh b/autoexec.sh index f9659e01..acca6c4b 100644 --- a/autoexec.sh +++ b/autoexec.sh @@ -5,8 +5,8 @@ ENIGMA_INSTALL_DIR=${ENIGMA_INSTALL_DIR:=$HOME/enigma-bbs} AUTOEXEC_LOGFILE="$ENIGMA_INSTALL_DIR/logs/autoexec.log" # Environment Versions (would be awesome to read this from mise.toml) -ENIGMA_NODE_VERSION=${ENIGMA_NODE_VERSION:=18} -ENIGMA_PYTHON_VERSION=${ENIGMA_PYTHON_VERSION:=3.10} +ENIGMA_NODE_VERSION=${ENIGMA_NODE_VERSION:=$(toml get --toml-path=$ENIGMA_INSTALL_DIR/mise.toml tools.node)} +ENIGMA_PYTHON_VERSION=${ENIGMA_PYTHON_VERSION:=$(toml get --toml-path=$ENIGMA_INSTALL_DIR/mise.toml tools.python)} # Mise en place eval "$(~/.local/bin/mise activate bash)"