diff --git a/HMD setup/install_stardust.sh b/HMD setup/install_stardust.sh new file mode 100755 index 0000000..6fc9f7a --- /dev/null +++ b/HMD setup/install_stardust.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +echo "make sure you have the dependencies installed first!" +mkdir stardust +cd stardust +git clone -b dev https://github.com/StardustXR/server.git +git clone -b dev https://github.com/StardustXR/flatland.git +git clone -b dev https://github.com/StardustXR/non-spatial-input.git +git clone -b dev https://github.com/StardustXR/protostar.git +cd server +cargo build --release || cargo build --release +cd ../flatland +cargo build --release +cd ../protostar +cargo build --release +cd ../non-spatial-input/simular +cargo build --release +cd ../manifold +cargo build --release +cd ../../ +echo "Assuming no error occured you should be good to go!" diff --git a/README.md b/README.md index 489a9f3..1f9a273 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,7 @@ git clone -b dev https://github.com/StardustXR/protostar.git Once we have all of these download we'll need to compile them. -``` +```sh cd flatland cargo build --release cd ../protostar @@ -182,7 +182,7 @@ cargo build --release these are the same procedure as the server, but non-spatial-inputs needs a bit of special sauce. To compile what we need for that do the following: -``` +```sh cd non-spatial-input cd simular cargo build --release