steam: fix bootstrap tarball with non-default steamroot

This removes the hardcoded Steam root in the bootstrap fixer, which lets it work
even if the user has moved their Steam root to somewhere other than the default
location.
This commit is contained in:
eriedaberrie 2024-04-12 23:27:57 -07:00
parent f46237b072
commit 25fcab1554

View File

@ -60,8 +60,8 @@ let
# bootstrap.tar.xz has 444 permissions, which means that simple deletes fail
# and steam will not be able to start
fixBootstrap = ''
if [ -r $HOME/.local/share/Steam/bootstrap.tar.xz ]; then
chmod +w $HOME/.local/share/Steam/bootstrap.tar.xz
if [ -r $HOME/.steam/steam/bootstrap.tar.xz ]; then
chmod +w $HOME/.steam/steam/bootstrap.tar.xz
fi
'';