diff --git a/script/install.sh b/script/install.sh index 70aadfd5c..679481ad9 100755 --- a/script/install.sh +++ b/script/install.sh @@ -44,14 +44,17 @@ if [ -z "$1" ] || [ "$1" == "sgx" ]; then fi # RISC0 if [ -z "$1" ] || [ "$1" == "risc0" ]; then - # cargo install cargo-risczero - # cargo risczero install --version v2024-02-08.1 + echo "Current TERM: $TERM" if [ -z "$TERM" ] || [ "$TERM" = "dumb" ]; then # Set TERM to xterm-color256 echo "Setting TERM to xterm" export TERM=xterm fi curl -L https://risczero.com/install | bash + + if [ ! command -v sp1up &> /dev/null ]; then + source $HOME/.bashrc + fi rzup -v 1.0.1 fi # SP1