Line width and permissions

This commit is contained in:
Elia Farin
2025-05-30 12:58:23 -05:00
parent 32d940ce8e
commit fd210a0c34
2 changed files with 6 additions and 4 deletions

View File

@@ -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

6
steamtricks/bin/steamtricks Normal file → Executable file
View File

@@ -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";