From 8877b1d3afc0f0e2ae799e575a25ec0424a11172 Mon Sep 17 00:00:00 2001 From: Carl Roman Hultay <144816337+crhultay@users.noreply.github.com> Date: Sun, 24 Nov 2024 22:29:15 -0500 Subject: [PATCH] Update autoexec.sh --- autoexec.sh | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/autoexec.sh b/autoexec.sh index d547de109..831c420fa 100644 --- a/autoexec.sh +++ b/autoexec.sh @@ -1,26 +1,16 @@ #!/bin/bash -# Setup Node Environment -export NVM_DIR="$HOME/.nvm" -[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm -[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion -nvm use 18 - -# Setup Python Environment -export PYENV_ROOT="$HOME/.pyenv" -[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" -eval "$(pyenv init -)" -pyenv local 3.10 +# Activate Mise +eval "$(~/.local/bin/mise activate bash)" # Start BBS /home/egonis/enigma-bbs/main.js result=$? # Determine whether a Startup Crash Occurred -if [ $result -eq 0 ]; then - echo "$result" -else - echo "FAIL: ENiGMA½ exited with $result" +# if [ $result -eq 0 ]; then +# # TODO: Notify via SMS / Email of Startup Failure +# fi - # TODO: Notify via SMS / Email of Startup Failure -fi +echo "ENiGMA½ exited with $result" +exit $result