Updated README, install.sh, and steamtricks.conf.example

This commit is contained in:
Elia Farin
2025-05-30 15:31:08 -05:00
parent fd210a0c34
commit 09eb399f1e
4 changed files with 50 additions and 61 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/sh
unsupported_shell () {
echo "Your shell $SHELL is not supported by this install script"
@@ -11,7 +11,7 @@ unsupported_shell () {
install () {
mkdir ~/.steamtricks
cp -r steamtricks/* ~/.steamtricks
export SHELLPROFILE="~/.${1}rc"
export SHELLPROFILE="$HOME/.${1}rc"
echo "export STEAMTRICKS_PREFIX=\"~/.steamtricks\"">>"${SHELLPROFILE}"
echo "export PATH=\"\$PATH:$HOME/.steamtricks/bin\"">>${SHELLPROFILE}
source "${SHELLPROFILE}"
@@ -26,6 +26,10 @@ install_manager () {
esac
}
if [ "$EUID" -eq 0 ]; then
echo "Please do not run this script as root"
exit 1
fi
read -r -p "Would you like to install the multiple-install game manager? [y/N]" ANS
case "$ANS" in