Updated install.sh

This commit is contained in:
Elia Farin
2025-05-30 12:24:04 -05:00
parent 8917315b39
commit 32d940ce8e

View File

@@ -4,7 +4,8 @@ unsupported_shell () {
echo "Your shell $SHELL is not supported by this install script" echo "Your shell $SHELL is not supported by this install script"
echo "You will need to manually install by extracting a tarball from" echo "You will need to manually install by extracting a tarball from"
echo "https://github.com/charwrangler404/steamtricks/releases to your home folder" echo "https://github.com/charwrangler404/steamtricks/releases to your home folder"
echo "and setting the STEAMTRICKS_PREFIX environment variable in your shell's profile" echo "and setting the STEAMTRICKS_PREFIX to your shell's environment, as well as"
echo "$HOME/.steamtricks/bin to your PATH"
} }
install () { install () {
@@ -14,7 +15,6 @@ install () {
echo "export STEAMTRICKS_PREFIX=\"~/.steamtricks\"">>"${SHELLPROFILE}" echo "export STEAMTRICKS_PREFIX=\"~/.steamtricks\"">>"${SHELLPROFILE}"
echo "export PATH=\"\$PATH:$HOME/.steamtricks/bin\"">>${SHELLPROFILE} echo "export PATH=\"\$PATH:$HOME/.steamtricks/bin\"">>${SHELLPROFILE}
source "${SHELLPROFILE}" source "${SHELLPROFILE}"
edit_prefix
} }
install_manager () { install_manager () {