Skip to content

Commit

Permalink
Revert "Update winesteam.sh"
Browse files Browse the repository at this point in the history
This reverts commit 79ee725.
  • Loading branch information
GleammerRay committed Apr 18, 2024
1 parent e3da123 commit 9a38776
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions winesteam.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ if [ "x$FLATPAK_ID" != "xio.github.gleammerray.WineSteam" ]; then
echo "Running WineSteam flatpak."
unshare --user --map-current-user --net --mount "$WINESTEAM_BIN/ws_flatpak_runner.sh" $1 &
export WS_RUNNER_PID=$!
sleep 2
sleep 1
slirp4netns --configure --mtu=65520 --disable-host-loopback $WS_RUNNER_PID tap0 &
wsCleanup
exit
Expand Down Expand Up @@ -193,7 +193,7 @@ if [ -d "$WINEPREFIX" ]; then
unshare --user --map-root-user --net --mount "$WINESTEAM_BIN/ws_runner.sh" "wine \"$WINEPREFIX/drive_c/Program Files (x86)/Steam/steam.exe\" -silent" &
fi
export WS_RUNNER_PID=$!
sleep 2
sleep 1
if [ "x$FLATPAK_ID" != "xio.github.gleammerray.WineSteam" ]; then
slirp4netns --configure --mtu=65520 --disable-host-loopback $WS_RUNNER_PID tap0 &
fi
Expand Down Expand Up @@ -283,7 +283,7 @@ if [ "x$WINESTEAM_INSTALL_DXVK" = "x" ]; then
echo "WINESTEAM_INSTALL_MODE=\"flatpak\"" >> "$WINESTEAM_CFG"
unshare --user --map-current-user --net --mount "$WINESTEAM_BIN/ws_flatpak_runner.sh" &
export WS_RUNNER_PID=$!
sleep 2
sleep 1
./bin/slirp4netns --configure --mtu=65520 --disable-host-loopback $WS_RUNNER_PID tap0 &
wsCleanup
exit
Expand Down Expand Up @@ -417,7 +417,7 @@ else
unshare --user --map-root-user --net --mount "$WINESTEAM_BIN/ws_runner.sh" "wine \"$WINESTEAM_PKGS/SteamSetup.exe\"" &
fi
export WS_RUNNER_PID=$!
sleep 2
sleep 1
if [ "x$FLATPAK_ID" != "xio.github.gleammerray.WineSteam" ]; then
slirp4netns --configure --mtu=65520 --disable-host-loopback $WS_RUNNER_PID tap0 &
fi
Expand Down

0 comments on commit 9a38776

Please sign in to comment.