Skip to content

Commit

Permalink
Steam: solve "steamwebhelper requires the Sniper steam runtime" error
Browse files Browse the repository at this point in the history
  • Loading branch information
Botspot authored and cobalt2727 committed Jul 2, 2024
1 parent 6006699 commit 51b9415
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/games_and_emulators/steam.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ fi
export STEAMOS=1
export STEAM_RUNTIME=1
export DBUS_FATAL_WARNINGS=0
GALLIUM_DRIVER=virpipe BOX64_LOG=1 BOX86_LOG=1 BOX64_EMULATED_LIBS=libmpg123.so.0 /usr/lib/steam/bin_steam.sh -no-cef-sandbox "$@"
GALLIUM_DRIVER=virpipe BOX64_LOG=1 BOX86_LOG=1 BOX64_TRACE_FILE=stderr BOX86_TRACE_FILE=stderr BOX64_EMULATED_LIBS=libmpg123.so.0 /usr/lib/steam/bin_steam.sh -no-cef-sandbox "$@"
rm -f /home/${USER}/Desktop/steam.desktop
kill $pid_virgl' | sudo tee /usr/local/bin/steam || error "Failed to create steam launch script"
Expand All @@ -130,7 +130,7 @@ sudo chmod +x /usr/local/bin/steam
# copy official steam.desktop file to /usr/local and edit it
# we can't edit the official steam.desktop file since this will get overwritten on a steam update
# if a matching name .desktop file is found in /usr/local/share/applications it takes priority over /usr/share/applications
sudo cp /usr/share/applications/steam.desktop /usr/local/share/applications/steam.desktop
sudo mv -f /usr/share/applications/steam.desktop /usr/local/share/applications/steam.desktop
sudo sed -i 's:Exec=/usr/bin/steam:Exec=/usr/local/bin/steam:' /usr/local/share/applications/steam.desktop

# remove official steam.desktop
Expand Down

1 comment on commit 51b9415

@cobalt2727
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.