From 9a38776a6dac0f7ba9f3f5b98e366f7e4230942c Mon Sep 17 00:00:00 2001 From: GleammerRay <101527589+GleammerRay@users.noreply.github.com> Date: Thu, 18 Apr 2024 15:05:44 +0100 Subject: [PATCH] Revert "Update winesteam.sh" This reverts commit 79ee725bac43762e30bfecbc9cab088a6f8f1205. --- winesteam.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/winesteam.sh b/winesteam.sh index 0b1f48b..1ab9592 100755 --- a/winesteam.sh +++ b/winesteam.sh @@ -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 @@ -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 @@ -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 @@ -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