Add native steam installer

This commit is contained in:
2024-05-24 19:59:34 +01:00
parent 81633f0fc2
commit d6cebcf8d3
2 changed files with 9 additions and 25 deletions

View File

@@ -1,25 +0,0 @@
#! /bin/bash
sudo apt install flatpak || {
echo "Failed to install flatpak. Try: \"sudo apt update\" and run the script again."
exit 1
}
flatpak --user remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo || {
echo "Failed to add flathub remote."
exit 1
}
flatpak install flathub com.valvesoftware.Steam || {
echo "Failed to install Steam."
exit 1
}
flatpak install flathub com.github.Anuken.Mindustry || {
echo "Failed to install Mindustry."
exit 1
}
echo
echo "Done."
echo

9
scripts/install-steam.sh Executable file
View File

@@ -0,0 +1,9 @@
#! /bin/bash
echo "Add \"contrib non-free\" to the end of each repo. Press ENTER to edit /etc/apt/sources.list."
read
sudoedit /etc/apt/sources.list
sudo dpkg --add-architecture i386
sudo nala update
sudo nala install steam