Update main.sh

This commit is contained in:
ferreo 2024-11-11 16:11:06 +01:00
parent 73493caf45
commit ca33aa187a

View File

@ -14,8 +14,7 @@ cd WiVRn
apt-get install wget -y
MONADO_COMMIT=$(grep -zo "FetchContent_Declare(monado[^)]*)" wivrn/CMakeLists.txt | sed -ze "s/^.*GIT_TAG *\([^ )]*\).*$/\1/" | tr -d '\0')
wget https://gitlab.freedesktop.org/monado/monado/-/archive/$MONADO_COMMIT/monado-$MONADO_COMMIT.tar.gz
wget https://gitlab.freedesktop.org/monado/monado/-/archive/8aea7b8691061bbc01c37808e3f3d55b47797fa6/monado-$MONADO_COMMIT.tar.gz
mkdir ./monado-src
tar xzf monado-*.tar.gz --strip-components=1 -C ./monado-src
cd ./monado-src