arm gamedev and game setup scripts

This commit is contained in:
Rodolfo Barcelli Jo 2024-07-09 12:26:40 +08:00
parent 2ca596daab
commit 147199e60d
3 changed files with 9 additions and 10 deletions

View file

@ -1,3 +1,2 @@
krita
git-lfs

View file

@ -1,8 +1,8 @@
#!/bin/bash
while IFS= read -r line ; do
echo "sudo pacman -S --noconfirm --needed $line"
done < $1
#while IFS= read -r line ; do
# echo "sudo pacman -S --noconfirm --needed $line"
#done < $1
# Get Blender
while true; do
@ -10,15 +10,15 @@ while true; do
read -p "Please enter the release of blender you want (eg. 4.1): " blender
if [[ ! -z $blender ]]; then
if [[ ! -d /home/$(whoami)/Software ]]; then
"mkdir /home/$(whoami)/Software"
mkdir /home/$(whoami)/Software
fi
cd "/home/$(whoami)/Software"
cd /home/$(whoami)/Software
count=9
while [ $count -ge 0 ]; do
echo "wget 'https://download.blender.org/release/Blender$blender/blender-$blender.$count-linux-x64.tar.xz'"
wget "https://download.blender.org/release/Blender$blender/blender-$blender.$count-linux-x64.tar.xz"
if [[ $? == 0 ]]; then
blenderversion="blender-$blender.$count-linux-x64.tar.xz"
echo "cd /home/$(whoami)/Software/ && tar -xvf $blenderversion"
cd /home/$(whoami)/Software/ && tar -xvf $blenderversion
break
fi
((count--))

View file

@ -1,6 +1,6 @@
#!/bin/bash
while IFS= read -r line ; do
echo "sudo pacman -S --noconfirm --needed $line"
sudo pacman -S --noconfirm --needed $line
done < $1
echo "sudo pacman -S --needed steam"
sudo pacman -S --noconfirm --needed steam