This commit is contained in:
wasabi
2025-05-29 15:14:38 -05:00
parent 072f051129
commit 393ec31287
6 changed files with 192 additions and 19 deletions

View File

@@ -1,10 +1,15 @@
#!/usr/bin/env bash
install_steamtricks () {
curl | tar -xvC ~/.steamtricks
}
SHELLNAME=$(echo $SHELL | awk -F '/' '{print $NF}')
case "$SHELLNAME" in
sh) echo "Shell not supported"; exit 1
;;
bash | zsh) curl https://raw.githubusercontent.com/charwrangler404/steamtricks/refs/heads/main/multiple_install_manager.sh >> "${HOME}/.${SHELLNAME}rc"; echo "Installed to ${HOME}/.${SHELLNAME}rc"
bash | zsh | yash) install_steamtricks
;;
*) echo "You will need to install this by manually adding it to either your /etc/profile for system-wide installation or to your shell's profile"
;;