From 8917315b39a7d58f4a2e2431cd244c87890fada4 Mon Sep 17 00:00:00 2001 From: Elia Farin Date: Fri, 30 May 2025 11:55:55 -0500 Subject: [PATCH] Updated install script --- install.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) mode change 100644 => 100755 install.sh diff --git a/install.sh b/install.sh old mode 100644 new mode 100755 index c78820b..878297a --- a/install.sh +++ b/install.sh @@ -9,18 +9,17 @@ unsupported_shell () { install () { mkdir ~/.steamtricks - cp -r src/* ~/.steamtricks + cp -r steamtricks/* ~/.steamtricks export SHELLPROFILE="~/.${1}rc" echo "export STEAMTRICKS_PREFIX=\"~/.steamtricks\"">>"${SHELLPROFILE}" - echo "export PATH=\"$PATH:$HOME/.steamtricks/bin\"" + echo "export PATH=\"\$PATH:$HOME/.steamtricks/bin\"">>${SHELLPROFILE} source "${SHELLPROFILE}" edit_prefix - } install_manager () { case "$1" in - bash | zsh | yash) install + bash | zsh | yash) install $1 ;; *) unsupported_shell ;;