1
0
Fork 0

various changes I don't remember lol

This commit is contained in:
Peter Domínguez 2025-10-30 08:28:48 -04:00
parent 07a879aad3
commit 06508d53ac
19 changed files with 90 additions and 90 deletions

View file

@ -48,11 +48,11 @@ fi
# Ask for confirmation to build vkquake
{
read -p "Build Quakespasm-spiked? [y/n]:" -n 1 -r
read -p "Build vkQuake? [y/n]:" -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]
then
~/.bin/sh/quakespasm-compile.sh
~/.bin/sh/vkquake-compile.sh
fi
}

View file

@ -1,32 +0,0 @@
#!/bin/sh
# Switch to git directory and clone source
{
cd /home/peter/Downloads/git;
git clone https://github.com/Shpoike/Quakespasm.git;
}
# Build binary
{
cd /home/peter/Downloads/git/Quakespasm/Quake;
make;
}
# Install executable @ ~/.bin
{
cd /home/peter/.bin/Quakespasm;
mv /home/peter/.bin/Quakespasm/quakespasm /home/peter/.bin/Quakespasm/.old;
mv /home/peter/.bin/Quakespasm/quakespasm.pak /home/peter/.bin/Quakespasm/.old;
cd /home/peter/Downloads/git/Quakespasm/Quake;
cp /home/peter/Downloads/git/Quakespasm/Quake/quakespasm /home/peter/.bin/Quakespasm;
cp /home/peter/Downloads/git/Quakespasm/Quake/quakespasm.pak /home/peter/.bin/Quakespasm;
chmod 755 /home/peter/.bin/Quakespasm;
}
# Cleanup
{
rm -rf /home/peter/Downloads/git/Quakespasm;
}