From 2ea2c401707ccd7fc79c53c62c28ad53a0d21831 Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Fri, 24 Mar 2023 15:12:25 -0400 Subject: [PATCH] Update prelaunch script --- sc-prelaunch.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sc-prelaunch.sh b/sc-prelaunch.sh index 0a3b21a..2a81797 100755 --- a/sc-prelaunch.sh +++ b/sc-prelaunch.sh @@ -1,2 +1,7 @@ #!/bin/sh -if [ -d \"$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/EasyAntiCheat\" ]; then rm -rf \"$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/EasyAntiCheat\"; fi + +EACDIR="$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/EasyAntiCheat" + +if [ -d "$EACDIR" ]; then + rm -rf "$EACDIR" +fi \ No newline at end of file