From 9c7ee4d8476bf5ce0f29513af5440ddeae80b852 Mon Sep 17 00:00:00 2001 From: pyro57000 Date: Fri, 14 Mar 2025 11:46:02 -0500 Subject: [PATCH] added sh tagging to the README also made the install bash script executable --- HMD setup/install_stardust.sh | 21 +++++++++++++++++++++ README.md | 4 ++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100755 HMD setup/install_stardust.sh 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