diff --git a/README.md b/README.md index 06b5839..ef4158a 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,11 @@ The easiest way to find out if you've installed Steam as a flatpak or from your $ flatpak list | grep Steam Steam com.valvesoftware.Steam 1.0.0.81 stable system -If you get any output that does not look similar to the above, you have Steam installed through your package manager and can skip the next section. +If you get any output that does not look similar to the above, or no output, you have Steam installed through your package manager and can skip the next section. ## Installation -Either git clone this repository and install using the install script, or run the following command in your shell: +Either `git clone` this repository and install using the install script, or run the following command in your shell: curl https://raw.githubusercontent.com/charwrangler404/steamtricks/refs/heads/main/webinstall.sh | $SHELL diff --git a/steamtricks/bin/steamtricks b/steamtricks/bin/steamtricks old mode 100644 new mode 100755 index 8bfcc92..7e3c61f --- a/steamtricks/bin/steamtricks +++ b/steamtricks/bin/steamtricks @@ -156,14 +156,16 @@ sub change_install { if ( -l "${steam_prefix}/${game}" && grep /^$game$/, $managed_games) { unlink "${steam_prefix}/${game}" or die "Could not unlink $steam_prefix/$game: $!"; - symlink "${steam_prefix}/${$game}_${game_version}", "${steam_prefix}/${game}" or die "Could not create symlink ${steam_prefix}/${game}: $!"; + symlink "${steam_prefix}/${$game}_${game_version}", "${steam_prefix}/${game}" + or die "Could not create symlink ${steam_prefix}/${game}: $!"; print "You may now change any beta settings and restart Steam to apply your changes\n"; } elsif ( -l "${steam_prefix}/${game}" && ! grep /^$game$/, $managed_games) { warn "$game not in config as a managed_game[], adding to config"; update_config("install_manager", "managed_games[]", $game); unlink "${steam_prefix}/${game}" or die "Could not unlink $steam_prefix/$game: $!"; - symlink "${steam_prefix}/${$game}_${game_version}", "${steam_prefix}/${game}" or die "Could not create symlink ${steam_prefix}/${game}: $!"; + symlink "${steam_prefix}/${$game}_${game_version}", "${steam_prefix}/${game}" + or die "Could not create symlink ${steam_prefix}/${game}: $!"; print "You may now change any beta settings and restart Steam to apply your changes\n"; } else { die "${steam_prefix}/${game} is not a symlink, please run with --create-managed-install";