diff --git a/tunshell-client/build/install-deps-wasm.sh b/tunshell-client/build/install-deps-wasm.sh index 8ba5fcd..d04c95f 100755 --- a/tunshell-client/build/install-deps-wasm.sh +++ b/tunshell-client/build/install-deps-wasm.sh @@ -3,4 +3,6 @@ set -e curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y +rustup install 1.65.0 +rustup default 1.65.0 curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh \ No newline at end of file diff --git a/tunshell-client/build/install-deps.sh b/tunshell-client/build/install-deps.sh index 7ddfbb3..fda52fe 100755 --- a/tunshell-client/build/install-deps.sh +++ b/tunshell-client/build/install-deps.sh @@ -34,6 +34,10 @@ case "$OSTYPE" in ;; esac +echo "Installing rust version 1.65.0..." +rustup install 1.65.0 +rustup default 1.65.0 + echo "Installing cross..." cargo install cross diff --git a/tunshell-server/test.sh b/tunshell-server/test.sh index 0189288..3e8cc94 100755 --- a/tunshell-server/test.sh +++ b/tunshell-server/test.sh @@ -8,6 +8,9 @@ then curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y fi +rustup install 1.65.0 +rustup default 1.65.0 + export TUNSHELL_API_PORT="3000" export TUNSHELL_RELAY_TLS_PORT="3001" export SQLITE_DB_PATH="$PWD/db.sqlite"